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