public void RaiseLevel(Employee employee) { employee.level += 1; _context.Set <Employee>().Update(employee); }
public void Delete(int id) { context.Set <T>().Remove(GetById(id)); }
public void RaiseLevel(Employee employee) { employee.level += 1; _context.Set <Employee>().Update(employee); }
public void Delete(int id) { context.Set <T>().Remove(GetById(id)); }