Esempio n. 1
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);
 }
Esempio n. 2
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);
 }