예제 #1
0
 public CustomerVmService(ICustomerService customerService, IAppLogger <CustomerVmService> appLogger,
                          IAddressVmService addressVmService, IWillService willService,
                          IMaritalStatusVmService maritalStatusVmService)
 {
     _customerService        = customerService;
     _logger                 = appLogger;
     _addressVmService       = addressVmService;
     _willService            = willService;
     _maritalStatusVmService = maritalStatusVmService;
 }
예제 #2
0
        public CustomerModel(IWillVmService willVmService, ICustomerVmService customerVmService,
                             IMaritalStatusVmService maritalStatusService,
                             IAppLogger <CustomerModel> appLogger, SignInManager <ApplicationUser> signInManager,
                             UserManager <ApplicationUser> userManager)
        {
            _willVmService        = willVmService;
            _customerVmService    = customerVmService;
            _maritalStatusService = maritalStatusService;
            _logger        = appLogger;
            _signInManager = signInManager;
            _userManager   = userManager;

            _errorNotFound       = "Your will could not be found.";
            _errorDefaultMessage = "It appears something went wrong. Please try again later. Should you still have the same issue, please get in touch with support.";
        }