Example #1
0
 public PageDataServices(CoreContext context, ILogger logger)
 {
     _context                          = context;
     _logger                           = logger;
     _userModelServices                = new UserModelServices(this._context, this._logger);
     _userProfileModelServices         = new UserProfileModelServices(context, logger);
     _profileModelServices             = new ProfileModelServices(context, logger);
     _permissonsOfProfileModelServices = new PermissonsOfProfileModelServices(context, logger);
 }
Example #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);
 }
Example #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);
 }