public OrganizationTypesController(
     IOrganizationTypeService organizationTypeService,
     IOrganizationTypeModelBuilder organizationModelBuilder)
 {
     _organizationTypeService      = organizationTypeService;
     _organizationTypeModelBuilder = organizationModelBuilder;
 }
Exemplo n.º 2
0
 public ImportDataController(IDataImportService dataImportService, IProjectService projService,
                             IEnvelopeService envpService, IOrganizationTypeService orgTypeService, IExchangeRateService exRateService,
                             IExchangeRateHttpService exRateHttpService, IWebHostEnvironment hostEnvironment,
                             IProjectMembershipService projectMembshipService)
 {
     service                 = dataImportService;
     projectService          = projService;
     envelopeService         = envpService;
     organizationTypeService = orgTypeService;
     ratesService            = exRateService;
     ratesHttpService        = exRateHttpService;
     hostingEnvironment      = hostEnvironment;
     service.SetDirectoryPath(hostingEnvironment.WebRootPath);
     projectMembershipService = projectMembshipService;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="service">The service</param>
 /// <param name="organizationTypeService">The organization type service.</param>
 /// <param name="addressHandler">The address handler.</param>
 /// <param name="userProvider">The user provider.</param>
 /// <param name="socialMediaHandler">The social media handler.</param>
 public OrganizationsController(
     IOrganizationService service,
     IOrganizationTypeService organizationTypeService,
     IUserProvider userProvider,
     IAddressModelHandler addressHandler,
     ISocialMediaPresenceModelHandler socialMediaHandler)
 {
     Contract.Requires(service != null, "The organization service must not be null.");
     Contract.Requires(organizationTypeService != null, "The organization type service must not be null.");
     Contract.Requires(userProvider != null, "The user provider must not be null.");
     Contract.Requires(addressHandler != null, "The address handler must not be null.");
     Contract.Requires(socialMediaHandler != null, "The social media handler must not be null.");
     this.organizationService     = service;
     this.organizationTypeService = organizationTypeService;
     this.userProvider            = userProvider;
     this.addressHandler          = addressHandler;
     this.socialMediaHandler      = socialMediaHandler;
 }
 public OrganizationTypeController(AIMSDbContext cntxt, IOrganizationTypeService service)
 {
     this.context = cntxt;
     this.organizationTypeService = service;
 }
Exemplo n.º 5
0
 public OrganizationTypeController(IOrganizationTypeService OrganizationTypeService) :
     base(OrganizationTypeService)
 {
 }
Exemplo n.º 6
0
 public OrganizationTypeController(IOrganizationTypeService service)
 {
     this.organizationTypeService = service;
 }