public void remove(Employee employee) { this._context.Employees.Remove(this._context.Employees.First(t => t.Id == employee.Id)); _context.SaveChanges(); }
public void Add(Customer customer) { _context.Customers.Add(customer); _context.SaveChanges(); }