Ejemplo n.º 1
0
 public string GetEmployee(string id)
 {
     var employeeController = new EmployeeController();
     return employeeController.Get(id);
 }
Ejemplo n.º 2
0
 public void DeleteEmployee(string id)
 {
     var employeeController = new EmployeeController();
     employeeController.Delete(id);
 }
Ejemplo n.º 3
0
 public string GetAllEmployees()
 {
     var employeeController = new EmployeeController();
     return employeeController.GetAll();
 }
Ejemplo n.º 4
0
 public string CreateEmployee(string jsonEmployee)
 {
     var employeeController = new EmployeeController();
     return employeeController.CreateEmployee(jsonEmployee);
 }