public async Task <Products> Add(Products products) { await _context.Products.AddAsync(products); await _context.SaveChangesAsync(); return(products); }
public async Task <SalesPersons> Add(SalesPersons sales) { await _context.SalesPersons.AddAsync(sales); await _context.SaveChangesAsync(); return(sales); }
public async Task <Customer> Add(Customer customer) { await _context.Customer.AddAsync(customer); await _context.SaveChangesAsync(); return(customer); }