public async Task <bool> Edit(PreMadePizzas PMPizzas) { _context.Entry(PMPizzas).State = EntityState.Modified; await _context.SaveChangesAsync(); return(true); }
public async Task <bool> Edit(Toppings Toppings) { _context.Entry(Toppings).State = EntityState.Modified; await _context.SaveChangesAsync(); return(true); }
public async Task <bool> Edit(CrustTypes CrustTypes) { _context.Entry(CrustTypes).State = EntityState.Modified; await _context.SaveChangesAsync(); return(true); }
public async Task <bool> Add(NOrders NOrders) { _context.NOrders.Add(NOrders); await _context.SaveChangesAsync(); return(true); }