public FarmTypeController(IFarmTypeService farmTypeService, IHttpContextAccessor httpContextAccessor, IHttpHelper httpHelper, IOptions <PagerOptions> pagerOptions) : base(httpContextAccessor) { _httpHelper = httpHelper; _farmTypeService = farmTypeService; _pagerOptions = pagerOptions.Value; }
public FarmTypeResolver(IFarmTypeService farmTypeService, IOptions <PagerOptions> pagerOptions) { _farmTypeService = farmTypeService; _pagerOptions = pagerOptions.Value; }