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