Ejemplo n.º 1
0
 public ApplicantController(
     IApplicationTypeService applicationTypeService,
     IRefIdentityAppService refIdentityService,
     IApplicantService applicantService,
     IDealerAppService dealerApptService,
     IActivityAppService activityAppService,
     IDealerActivityAppService dealerActivityAppService,
     IStationAppService stationAppService,
     IBillAppService billAppService,
     IFinancialYearAppService financialYearAppService,
     UserManager userManager,
     IUserAppService userAppService,
     RoleManager roleManager,
     IEmailSender emailSender
     )
 {
     _applicationTypeService   = applicationTypeService;
     _refIdentityService       = refIdentityService;
     _applicantService         = applicantService;
     _dealerAppService         = dealerApptService;
     _dealerActivityAppService = dealerActivityAppService;
     _activityAppService       = activityAppService;
     _stationAppService        = stationAppService;
     _billAppService           = billAppService;
     _financialYearAppService  = financialYearAppService;
     _userManager    = userManager;
     _userAppService = userAppService;
     _roleManager    = roleManager;
     _emailSender    = emailSender;
 }
Ejemplo n.º 2
0
 public ApplicationTypeController(IApplicationTypeService applicationTypeService, IMapper mapper)
 {
     _service = applicationTypeService ?? throw new ArgumentNullException(nameof(applicationTypeService));
     _mapper  = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }