Example #1
0
 public async Task <int> RemoveCFAsync(CF cf)
 {
     db.CFs.Remove(cf);
     return(await db.SaveChangesAsync());
 }
Example #2
0
 public async Task <int> UpdateCFAsync(CF cf)
 {
     db.CFs.Update(cf);
     return(await db.SaveChangesAsync());
 }
Example #3
0
 public async Task <int> AddCFAsync(CF cf)
 {
     db.CFs.Add(cf);
     return(await db.SaveChangesAsync());
 }