public CommonController(IRepository <Feature> featureRepository, IRepository <PointMeterLineItem> pointMeterLineItemRepository, IRepository <Core.Domain.Asset> assetRepository, IRepository <Location> locationRepository, IRepository <Store> storeRepository, IRepository <WorkOrder> workOrderRepository, IRepository <ServiceRequest> serviceRequestRepository, IRepository <Site> siteRepository, IRepository <StoreLocator> storeLocatorRepository, IRepository <StoreLocatorItem> storeLocatorItemRepository, IRepository <AssignmentHistory> assignmentHistoryRepository, IRepository <Assignment> assignmentRepository, IRepository <User> userRepository, IRepository <Address> addressRepository, IRepository <SLADefinition> slaDefinitionRepository, IValueItemService valueItemService, ILocationService locationService, IMeterGroupService meterGroupService, IAssignmentService assignmentService, ISiteService siteService, ILogger logger, IDateTimeHelper dateTimeHelper, IWorkContext workContext, ILocalizationService localizationService, DapperContext dapperContext, HttpContextBase httpContext, IDbContext dbContext, GeneralSettings generalSettings) { this._featureRepository = featureRepository; this._pointMeterLineItemRepository = pointMeterLineItemRepository; this._assetRepository = assetRepository; this._locationRepository = locationRepository; this._storeRepository = storeRepository; this._workOrderRepository = workOrderRepository; this._serviceRequestRepository = serviceRequestRepository; this._siteRepository = siteRepository; this._storeLocatorRepository = storeLocatorRepository; this._storeLocatorItemRepository = storeLocatorItemRepository; this._assignmentHistoryRepository = assignmentHistoryRepository; this._assignmentRepository = assignmentRepository; this._userRepository = userRepository; this._addressRepository = addressRepository; this._slaDefinitionRepository = slaDefinitionRepository; this._valueItemService = valueItemService; this._locationService = locationService; this._meterGroupService = meterGroupService; this._assignmentService = assignmentService; this._siteService = siteService; this._logger = logger; this._dateTimeHelper = dateTimeHelper; this._workContext = workContext; this._localizationService = localizationService; this._dapperContext = dapperContext; this._httpContext = httpContext; this._dbContext = dbContext; this._generalSettings = generalSettings; }
public ValueItemController(ILocalizationService localizationService, IRepository <ValueItem> valueItemRepository, IRepository <ValueItemCategory> valueItemCategoryRepository, IValueItemService valueItemService, IPermissionService permissionService, HttpContextBase httpContext, IWorkContext workContext, IDbContext dbContext) { this._localizationService = localizationService; this._valueItemCategoryRepository = valueItemCategoryRepository; this._valueItemRepository = valueItemRepository; this._valueItemService = valueItemService; this._permissionService = permissionService; this._httpContext = httpContext; this._workContext = workContext; this._dbContext = dbContext; }