Пример #1
0
 public PortfolioController(
     ITestimonialService testimonialService,
     IProjectService projectService)
 {
     _testimonialService = testimonialService;
     _projectService     = projectService;
 }
Пример #2
0
 public TestimonialViewModel(INavigation navigation = null) : base(navigation)
 {
     _testimonialService  = DependencyService.Get <ITestimonialService>();
     _helper              = DependencyService.Get <IHelper>();
     this.Testimonials    = new List <Models.Testimonial>();
     this.TestimonialView = null;
 }
 public TestimonialController(ITestimonialService service, ILogger <TestimonialController> logger,
                              IHostingEnvironment env, IMapper mapper)
 {
     _service = service;
     _logger  = logger;
     _env     = env;
     _mapper  = mapper;
 }
Пример #4
0
        private ITestimonialService GetServiceClient()
        {
            BasicHttpBinding binding = new BasicHttpBinding();
            var                 testimonialServiceReference = ConfigurationManager.AppSettings["TestimonialService"];
            EndpointAddress     endpoint = new EndpointAddress(testimonialServiceReference);
            ITestimonialService client   = ChannelFactory <ITestimonialService> .CreateChannel(binding, endpoint);

            return(client);
        }
Пример #5
0
 public WidgetsController(IFriendLinkService friendLinkService,
                          ISocialNetworkService socialNetworkService,
                          ITestimonialService testimonialService,
                          ICarouselService carouselService)
 {
     _friendLinkService    = friendLinkService;
     _socialNetworkService = socialNetworkService;
     _testimonialService   = testimonialService;
     _carouselService      = carouselService;
 }
Пример #6
0
 public TestimonialController(
     IClientService clientService,
     IProjectService projectService,
     ITestimonialService testimonialService,
     ILocalizedEntityService localizedEntityService)
 {
     _clientService          = clientService;
     _projectService         = projectService;
     _testimonialService     = testimonialService;
     _localizedEntityService = localizedEntityService;
 }
Пример #7
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;
 }
Пример #8
0
 public TestimonialController(UserManager <AppUser> userManager, ITestimonialService testimonialService, IAppUserService appUserService)
 {
     _userManager        = userManager;
     _testimonialService = testimonialService;
     _appUserService     = appUserService;
 }
Пример #9
0
 public TestimonialsController(ITestimonialService testimonialService, IUserService userService) : base(userService)
 {
     _testimonialService = testimonialService;
 }
Пример #10
0
 public TestimonialsController(ITestimonialService testimonialService)
 {
     _testimonialService = testimonialService;
 }
Пример #11
0
 public HomeController()
 {
     this._testimonialService = new TestimonialService(new TestimonialRepository <EFDbContext>());
 }
Пример #12
0
 public TestimonialCarouselService(ITestimonialService testimonialService)
 {
     _testimonialService = testimonialService;
 }
Пример #13
0
 public TestimonialsResolver()
 {
     _testimonialService    = HostContainer.GetInstance <ITestimonialService>();
     _widgetTemplateService = HostContainer.GetInstance <IWidgetTemplateService>();
 }