public Customer Update(Customer customer)
 {
     beautyShopDbContext.Entry(customer).State = EntityState.Modified;
     return(customer);
 }
Beispiel #2
0
 public virtual void Update(T entity)
 {
     dbSet.Attach(entity);
     dataContext.Entry(entity).State = EntityState.Modified;
 }
Beispiel #3
0
 public Customer Update(Customer customer)
 {
     beautyShopDbContext.Entry(customer).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
     return(customer);
 }