public async TaskThreading DeleteTask(Models.Task task) { _db.Task.Remove(task); await _db.SaveChangesAsync(); }
public async TaskThreading ChangeTask(Models.Task task) { await _db.SaveChangesAsync(); }
public async TaskThreading AddTask(Models.Task task) { await _db.Task.AddAsync(task); await _db.SaveChangesAsync(); }