public async Task <IActionResult> PutTask(long id, Model.TaskStatus status) { var task = await dbContext.Tasks.FindAsync(id); if (task == null) { return(Ok()); } task.Status = status; dbContext.Entry(task).State = EntityState.Modified; await dbContext.SaveChangesAsync(); return(Ok()); }
public IEnumerable <Models.Task> GetByProject(Guid projectId, string personDni, Models.TaskStatus status) { throw new NotImplementedException(); }