public EntityService(GenericApiContext context) { _context = context; }
public EntityController(GenericApiContext dbContext) { _service = new EntityService(dbContext); }