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()); }
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()); }