Пример #1
0
 public UpdateCredentialsServices(CoreContext context, ILogger logger)
 {
     _context                   = context;
     _logger                    = logger;
     _userModelServices         = new UserModelServices(context, logger);
     _statesModelServices       = new StatesModelServices(context, logger);
     _statesOfUserModelServices = new StatesOfUserModelServices(context, logger);
 }
Пример #2
0
 public UpdateUserServices(CoreContext context, ILogger logger)
 {
     _context = context;
     _logger  = logger;
     _homeAddressModelServices  = new HomeAddressModelServices(context, logger);
     _statesModelServices       = new StatesModelServices(context, logger);
     _statesOfUserModelServices = new StatesOfUserModelServices(context, logger);
     _userProfileModelServices  = new UserProfileModelServices(context, logger);
     _userModelServices         = new UserModelServices(context, logger);
 }
Пример #3
0
 public RegisterUserServices(CoreContext context, ILogger logger)
 {
     _context = context;
     _logger  = logger;
     random   = new Random();
     _homeAddressModelServices  = new HomeAddressModelServices(context, logger);
     _statesModelServices       = new StatesModelServices(context, logger);
     _statesOfUserModelServices = new StatesOfUserModelServices(context, logger);
     _userProfileModelServices  = new UserProfileModelServices(context, logger);
     _userModelServices         = new UserModelServices(context, logger);
 }