public virtual IActionResult delete(int id) { var task = new TT.Core.Domain.Task { Id = id }; _taskService.DeleteTask(task); return(Ok(true)); }
public virtual IActionResult edit(TT.Core.Domain.Task task) { _taskService.UpdateCustomer(task); return(Ok(true)); }
public virtual IActionResult insert(TT.Core.Domain.Task task) { _taskService.InsertTask(task); return(Ok(true)); }