public async Task <bool> Edit(CrustTypes CrustTypes)
        {
            _context.Entry(CrustTypes).State = EntityState.Modified;
            await _context.SaveChangesAsync();

            return(true);
        }
Example #2
0
        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);
        }