public Task <int> CreateTask(Timbr.Entities.Task task) { if (task.Id != 0) { return(_database.UpdateAsync(task)); } else { return(_database.InsertAsync(task)); } }
public Task <int> DeleteProject(Timbr.Entities.Task task) { return(_database.DeleteAsync(task)); }