コード例 #1
0
 public HomeController(IBlog blogImplementation, IPlace placeImplementation, IContactUs contactUsImplementation, UserManager <IdentityUser> userManager)
 {
     _blogImplementation      = blogImplementation;
     _placeImplementation     = placeImplementation;
     _contactUsImplementation = contactUsImplementation;
     _userManager             = userManager;
 }
コード例 #2
0
ファイル: HomeController.cs プロジェクト: hamkairama/Sbh
 public HomeController()
 {
     repo          = new ContactUsRepo();
     repoAns       = new AnswerRepo();
     slideshowRepo = new SlideshowRepo();
     newsRepo      = new NewsRepo();
 }
コード例 #3
0
 public ContactUsguestController()
 {
     try
     {
         iContactUs = new ContactUsRepository();
     }
     catch (Exception ex)
     {
         Utility.WriteLog("ContactUsguestController (guest)", null, "Error while initialize repository.", ex.ToString());
     }
 }
コード例 #4
0
 public ContactUsViewModel(IContactUs content)
 {
     this.id = content.id;
     this.alias = content.alias;
     this.content = content.content;
     this.created_by = content.created_by;
     this.date_created = content.date_created;
     this.date_updated = content.date_updated;
     this.meta_description = content.meta_description;
     this.meta_tags = content.meta_tags;
     this.title = content.title;
     this.type = content.type;
     this.type_id = content.type_id;
     this.latitude = content.latitude;
     this.longitude = content.longitude;
     this.location = content.location;
     this.enabled = content.enabled;
 }
コード例 #5
0
 /// <summary>Static getter for Customer Support</summary>
 public static IHtmlString GetCustomerSupport(IContactUs that)
 {
     return(that.GetPropertyValue <IHtmlString>("customerSupport"));
 }
コード例 #6
0
 /// <summary>Static getter for Technical Support</summary>
 public static IHtmlString GetTechnicalSupport(IContactUs that)
 {
     return(that.GetPropertyValue <IHtmlString>("technicalSupport"));
 }
コード例 #7
0
 /// <summary>Static getter for Heading</summary>
 public static string GetSocialMediaHeading(IContactUs that)
 {
     return(that.GetPropertyValue <string>("socialMediaHeading"));
 }
コード例 #8
0
 /// <summary>Static getter for Investor Relation</summary>
 public static IHtmlString GetInvestorRelation(IContactUs that)
 {
     return(that.GetPropertyValue <IHtmlString>("investorRelation"));
 }
コード例 #9
0
 /// <summary>Static getter for Facebook link</summary>
 public static string GetFacebookLink(IContactUs that)
 {
     return(that.GetPropertyValue <string>("facebookLink"));
 }
コード例 #10
0
 /// <summary>Static getter for Customer Support Title</summary>
 public static string GetCustomerSupportTitle(IContactUs that)
 {
     return(that.GetPropertyValue <string>("customerSupportTitle"));
 }
コード例 #11
0
 public ContactController(IContactUs _contact, ICommon _common)
 {
     contact = _contact;
     common  = _common;
 }
コード例 #12
0
 public ContactUsController()
 {
     repo = new ContactUsRepo();
 }
コード例 #13
0
 public ContactusController(AppIdentityDbContext context, IContactUs contactManager)
 {
     _context        = context;
     _contactManager = contactManager;
 }
コード例 #14
0
 public ContactUsController(IContactUs Service)
 {
     _svr = Service;
 }