public ResourceController() { _iResourceService = new ResourceService(); _iCountry = new CountryService(); _iResourceAuthorService = new ResourceAuthorService(); _iResourcePublicationService = new ResourcePublicationService(); _iResourceGenerationService = new GenerationService(); _iResourceIssue = new ResourceIssueService(); rModel = new ReturnMessageModel(); _iSetupService = new SetupService(); }
public SetupController() { _iSetupService = new SetupService(); rModel = new ReturnMessageModel(); _iResourceService = new ResourceService(); context = new PointOfSaleEntities(); _iCountryService = new CountryService(); context = new PointOfSaleEntities(); _iResourceAuthorService = new ResourceAuthorService(); context = new PointOfSaleEntities(); _iResourcePublicationService = new ResourcePublicationService(); context = new PointOfSaleEntities(); }