Example #1
0
 public CollegeController(IApplicationUserAppService applicationUserAppService,
                          ICollegeAppService collegeAppService,
                          ICollegeTimeAppService collegeTimeAppService)
 {
     _applicationUserAppService = applicationUserAppService;
     _collegeAppService         = collegeAppService;
     _collegeTimeAppService     = collegeTimeAppService;
     //_userManager = userManager;
 }
 public ReceivePaymentCulturalExchangeController(
     IOptions <AppSettings> appSetings,
     IFileUploadAppService fileUploadAppService,
     IApplicationUserAppService applicationUserAppService,
     IReceivePaymentCulturalExchangeAppService receivePaymentCulturalExchangeAppService,
     ICulturalExchangeAppService culturalExchangeAppService,
     ICollegeTimeAppService collegeTimeAppService,
     ICollegeAppService collegeAppService)
 {
     _appSetttings              = appSetings;
     _fileUploadAppService      = fileUploadAppService;
     _applicationUserAppService = applicationUserAppService;
     _collegeTimeAppService     = collegeTimeAppService;
     _collegeAppService         = collegeAppService;
     _receivePaymentCulturalExchangeAppService = receivePaymentCulturalExchangeAppService;
     _culturalExchangeAppService = culturalExchangeAppService;
 }
        //private readonly UserManager<ApplicationUserViewModel> _userManager;

        public CulturalExchangeController(/*UserManager<ApplicationUserViewModel> userManager,*/
            IApplicationUserAppService applicationUserAppService,
            ICulturalExchangeAppService culturalExchangeAppService,
            IStudentAppService studentAppService, ICollegeAppService collegeAppService,
            IEnvironmentAppService environmentAppService, IAccomodationAppService accomodationAppService,
            ICollegeTimeAppService collegeTimeAppService, IReceivePaymentCulturalExchangeAppService receivePaymentAppService
            )
        {
            _applicationUserAppService  = applicationUserAppService;
            _culturalExchangeAppService = culturalExchangeAppService;
            _studentAppService          = studentAppService;
            _collegeAppService          = collegeAppService;
            _collegeTimeAppService      = collegeTimeAppService;
            //_userManager = userManager;
            _environmentAppService    = environmentAppService;
            _accomodationAppService   = accomodationAppService;
            _receivePaymentAppService = receivePaymentAppService;
        }