示例#1
0
        public async Task <bool> Update(Stores store)
        {
            considContext.Stores.Update(store);
            await considContext.SaveChangesAsync();

            return(true);
        }
 public Task <int> Create(Companies entity)
 {
     db.Companies.Add(entity);
     return(db.SaveChangesAsync());
 }