示例#1
0
        public VisitorController(ILogger <VisitorController> logger, IUserProfileService userProfileService,
                                 IProjectService projectService, IEducationsService educationService, IUserServicesService userServices)
        {
            _logger = logger;

            _userProfileService = userProfileService;
            _projectService     = projectService;
            _educationService   = educationService;
            _userService        = userServices;
            _visitor            = new VisitorViewModel();
        }
示例#2
0
 public DashboardController(ILogger <DashboardController> logger, IUserProfileService userProfileService,
                            IProjectService projectService, IEducationsService educationService, IUserServicesService userServices)
 {
     _logger             = logger;
     _profile            = new AllUserProfileViewModel();
     _singleUser         = new UserProfileViewModel();
     _userProfileService = userProfileService;
     _projectService     = projectService;
     _educationService   = educationService;
     _userService        = userServices;
     _serviceViewModel   = new ServiceViewModel();
     _projectViewModel   = new EditProjectViewModel();
     _educationViewModel = new EducationViewModel();
 }