Beispiel #1
0
 private async Task <MaintenanceTask> UpdateMT(
     IMaintenanceTaskService service, MaintenanceTask task)
 {
     return(await service.Update(task));
 }
Beispiel #2
0
 private async Task <bool> DeleteMT(
     IMaintenanceTaskService service, int id)
 {
     return(await service.Delete(id));
 }
 public MaintenanceTasksController(IMaintenanceTaskService service)
 {
     _service = service;
 }