public BaseController() { this.userService = new UserService(); this.rightService = new RightService(); this.locationService = new LocationService(); this.organisationService = new OrganisationService(); this.siteService = new SiteService(); this.billService = new BillService(); this.itemService = new ItemService(); this.requestToAcquireItemService = new RequestToAcquireAssestService(); this.eventService = new EventService(); this.assetService = new AssetService(); this.assetHistoryService = new AssetHistoryService(); this.requestForScrappingService = new RequestForScrappingService(); this.requestForRelocationService = new RequestForRelocationService(); this.requestForRenovationService = new RequestForRenovationService(); this.providerService = new ProviderService(); this.packingSlipService = new PackingSlipService(); this.requestForAssetService = new RequestForAssetService(); this.requestToProviderService = new RequestToProviderService(); this.currencyService = new CurrencyService(); this.invoiceService = new InvoiceService(); this.exchangeService = new ExchangeRateService(); this.accidentService = new AccidentService(); this.securityGroupService = new SecurityGroupService(); }
public AssetHistoryController(IAssetHistoryService _service) { service = _service; }