示例#1
0
 public async Task <int> AddAmoAccount(AmoAccountAuth amoAccount)
 {
     db.AmoAccounts.Add(amoAccount);
     return(await db.SaveChangesAsync());
 }
示例#2
0
文件: CFRepo.cs 项目: u705708/MZPO
 public async Task <int> AddCFAsync(CF cf)
 {
     db.CFs.Add(cf);
     return(await db.SaveChangesAsync());
 }
示例#3
0
 public async Task <int> AddTag(Tag tag)
 {
     db.Tags.Add(tag);
     return(await db.SaveChangesAsync());
 }
示例#4
0
文件: CityRepo.cs 项目: u705708/MZPO
 public async Task <int> AddCity(City city)
 {
     db.Cities.Add(city);
     return(await db.SaveChangesAsync());
 }