Exemplo n.º 1
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();
 }
Exemplo n.º 2
0
 public HomeController(ILogger <HomeController> logger, IUserProfileService userProfileService)
 {
     _logger             = logger;
     _userProfileService = userProfileService;
     _allUserViewModel   = new AllUserProfileViewModel();
 }