public async Task <IHttpActionResult> EmployeeUpdate(ParttimerEmployeeViewModel model) { await WebApiService.Instance.PostAsync("parttimer/employee/update", model); return(Ok()); }
public IHttpActionResult UpdateParttimerEmployee(ParttimerEmployeeViewModel model) { _parttimerService.UpdateParttimerEmployee(model.ToServiceRequestModel()); return(Ok()); }