示例#1
0
 //public UiDataService() { }
 public UiDataService(
     ILanguageService languageService,
     ISliderService sliderService,
     IMenuService menuService,
     ICategoryService categoryService,
     IProductImageService productImageService,
     IProductService productService,
     IContactService contactService,
     IContactInformationService contactInformationService,
     IProjectService projectService,
     IServiceService serviceService,
     IGlobalTextDataService globalTextDataService)
 {
     this.languageService           = languageService;
     this.sliderService             = sliderService;
     this.menuService               = menuService;
     this.categoryService           = categoryService;
     this.productImageService       = productImageService;
     this.productService            = productService;
     this.contactService            = contactService;
     this.contactInformationService = contactInformationService;
     this.projectService            = projectService;
     this.serviceService            = serviceService;
     this.globalTextDataService     = globalTextDataService;
 }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     _contactInformationService = new ContactInformationService();
     if (!IsPostBack)
     {
         LoadContactInformation();
     }
 }
示例#3
0
 public HomeController(
     IContactInformationService contactInformationService,
     IEducationsService educationService,
     ISkillsService skillsService,
     ICertificationsService certificationService,
     ICoursesService coursesService,
     IProjectsService projectsService,
     IExperiencesService experienceService)
 {
     this.contactInformationService = contactInformationService;
     this.educationService          = educationService;
     this.skillsService             = skillsService;
     this.certificationService      = certificationService;
     this.coursesService            = coursesService;
     this.projectsService           = projectsService;
     this.experienceService         = experienceService;
 }
 public ContactInfoViewModel(IContactInformationService contactInfoService)
 {
     _contactInfoService = contactInfoService;
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     _contactInformationService = new ContactInformationService();
 }
示例#6
0
 public void Initialize()
 {
     controller = new ContactController();
     contactInformationService            = A.Fake <IContactInformationService>();
     controller.ContactInformationService = contactInformationService;
 }
		public ContactInfoBoxViewModel(IContactInformationService service = null)
		{
			_contactInfoService = service;
		}
示例#8
0
 public ContactInformationController(IContactInformationService servicesProvider)
     : base(servicesProvider)
 {
     this.dataProvider = servicesProvider;
 }