Example #1
0
 public ProfilePageModel(IUserDataContext userDataContext,
                         ICityUserRepository cityUserRepository,
                         ILogger <ProfilePageModel> logger)
 {
     this.userDataContext    = userDataContext;
     this.cityUserRepository = cityUserRepository;
     this.logger             = logger;
 }
 public DetailsPageModel(ILogger <DetailsPageModel> logger, INewsRepository newsRepository,
                         ICityUserRepository cityUserRepository, IUserDataContext userDataContext)
 {
     this.logger             = logger;
     this.newsRepository     = newsRepository;
     this.cityUserRepository = cityUserRepository;
     this.userDataContext    = userDataContext;
 }
Example #3
0
 public LoginPageModel(ICityUserRepository userRepository, ILogger <LoginPageModel> logger)
 {
     this.userRepository = userRepository;
     this.logger         = logger;
 }
 public RegisterPageModel(ICityUserRepository userRepository,
                          ILogger <RegisterPageModel> logger)
 {
     this.userRepository = userRepository;
     this.logger         = logger;
 }