Beispiel #1
0
 public HomeController(
     IServiceInfoService serviceInfoService,
     IUserService userService,
     IWorkExampleService workExampleService,
     IBlogService blogService,
     IBrandService brandService,
     ITestimonialService testimonialService,
     IContactsService contactsService,
     IMessageService messageService,
     RoleManager <IdentityRole> roleManager)
 {
     _serviceInfoService = serviceInfoService;
     _userService        = userService;
     _workExampleService = workExampleService;
     _blogService        = blogService;
     _brandService       = brandService;
     _testimonialService = testimonialService;
     _contactsService    = contactsService;
     _messageService     = messageService;
     _roleManager        = roleManager;
 }
 public WorksController(IWorkExampleService workExampleService, IFileService fileService, IUserService userService)
     : base(userService)
 {
     _workExampleService = workExampleService;
     _fileService        = fileService;
 }