예제 #1
0
 public async TaskThreading DeleteTask(Models.Task task)
 {
     _db.Task.Remove(task);
     await _db.SaveChangesAsync();
 }
예제 #2
0
 public async TaskThreading ChangeTask(Models.Task task)
 {
     await _db.SaveChangesAsync();
 }
예제 #3
0
        public async TaskThreading AddTask(Models.Task task)
        {
            await _db.Task.AddAsync(task);

            await _db.SaveChangesAsync();
        }