add form to create employee #18
@ -46,5 +46,6 @@ export class CreateEmployeeComponent implements OnInit{
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.employeeService.create(this.employeeForm.value as Employee).subscribe();
|
this.employeeService.create(this.employeeForm.value as Employee).subscribe();
|
||||||
ptran marked this conversation as resolved
Outdated
|
|||||||
|
location.reload();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user
For what is 'as Employee'?