public bool Update(int id, int mainTaskId, string detail) { var subtask = new SubTask { Id = id, MainTaskId = mainTaskId, Detail = detail }; return(_subTaskService.Update(subtask)); }
public bool Update(int id, int mainTaskId, string detail) { var subtask = new SubTask { Id = id, MainTaskId = mainTaskId, Detail = detail }; return(_subTaskService.Update(subtask)); }