/// <summary> /// Default constructor for injecting dependent services /// </summary> /// <param name="identityService"></param> /// <param name="applicationService"></param> /// <param name="applicationSubmissionValidator"></param> /// <param name="applicationSummaryFactory"></param> /// <param name="statusService"></param> /// <param name="saveService"></param> public ApplicationController(IIdentityService identityService, IApplicationService applicationService, IApplicationSubmissionValidator applicationSubmissionValidator, IApplicationSummaryFactory applicationSummaryFactory, IStatusService statusService, ISaveService saveService) { _identityService = identityService; _applicationService = applicationService; _applicationSubmissionValidator = applicationSubmissionValidator; _applicationSummaryFactory = applicationSummaryFactory; _statusService = statusService; _saveService = saveService; }
/// <summary> /// Default constructor for injecting dependent services /// </summary> /// <param name="identityService"> /// The identity service this controller should use /// </param> /// <param name="applicationService"> /// The application service this controller should use /// </param> /// <param name="applicationSubmissionValidator"> /// The application submission validator this controller should use /// </param> /// <param name="applicationSummaryFactory"> /// The application summary factory this controller should use /// </param> /// <param name="statusService"> /// The status service this controller should use /// </param> /// <param name="saveService"> /// The save service this controller should use /// </param> /// <param name="attachmentService"> /// The attachment service this controller should use /// </param> /// <param name="emailService"> /// The email service this controller should use /// </param> /// /// <param name="organizationService"> /// The organization service this controller should use /// </param> /// <param name="employerService"> /// The employer service this controller should use /// </param> /// <param name="responseService"> /// The response service this controller should use /// </param> public ApplicationController(IIdentityService identityService, IApplicationService applicationService, IApplicationSubmissionValidator applicationSubmissionValidator, IApplicationSummaryFactory applicationSummaryFactory, IStatusService statusService, ISaveService saveService, IAttachmentService attachmentService, IEmailContentService emailService, IOrganizationService organizationService, IEmployerService employerService, IResponseService responseService) { _identityService = identityService; _applicationService = applicationService; _applicationSubmissionValidator = applicationSubmissionValidator; _applicationSummaryFactory = applicationSummaryFactory; _statusService = statusService; _saveService = saveService; _attachmentService = attachmentService; _emailService = emailService; _organizationService = organizationService; _employerService = employerService; _responseService = responseService; }
public ApplicationSummaryFactoryTests() { _factory = new ApplicationSummaryFactory(); }