Ejemplo n.º 1
0
 public HomeController(IBlog blogImplementation, IPlace placeImplementation, IContactUs contactUsImplementation, UserManager <IdentityUser> userManager)
 {
     _blogImplementation      = blogImplementation;
     _placeImplementation     = placeImplementation;
     _contactUsImplementation = contactUsImplementation;
     _userManager             = userManager;
 }
Ejemplo n.º 2
0
 public HomeController()
 {
     repo          = new ContactUsRepo();
     repoAns       = new AnswerRepo();
     slideshowRepo = new SlideshowRepo();
     newsRepo      = new NewsRepo();
 }
Ejemplo n.º 3
0
 public ContactUsguestController()
 {
     try
     {
         iContactUs = new ContactUsRepository();
     }
     catch (Exception ex)
     {
         Utility.WriteLog("ContactUsguestController (guest)", null, "Error while initialize repository.", ex.ToString());
     }
 }
 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;
 }
Ejemplo n.º 5
0
 /// <summary>Static getter for Customer Support</summary>
 public static IHtmlString GetCustomerSupport(IContactUs that)
 {
     return(that.GetPropertyValue <IHtmlString>("customerSupport"));
 }
Ejemplo n.º 6
0
 /// <summary>Static getter for Technical Support</summary>
 public static IHtmlString GetTechnicalSupport(IContactUs that)
 {
     return(that.GetPropertyValue <IHtmlString>("technicalSupport"));
 }
Ejemplo n.º 7
0
 /// <summary>Static getter for Heading</summary>
 public static string GetSocialMediaHeading(IContactUs that)
 {
     return(that.GetPropertyValue <string>("socialMediaHeading"));
 }
Ejemplo n.º 8
0
 /// <summary>Static getter for Investor Relation</summary>
 public static IHtmlString GetInvestorRelation(IContactUs that)
 {
     return(that.GetPropertyValue <IHtmlString>("investorRelation"));
 }
Ejemplo n.º 9
0
 /// <summary>Static getter for Facebook link</summary>
 public static string GetFacebookLink(IContactUs that)
 {
     return(that.GetPropertyValue <string>("facebookLink"));
 }
Ejemplo n.º 10
0
 /// <summary>Static getter for Customer Support Title</summary>
 public static string GetCustomerSupportTitle(IContactUs that)
 {
     return(that.GetPropertyValue <string>("customerSupportTitle"));
 }
Ejemplo n.º 11
0
 public ContactController(IContactUs _contact, ICommon _common)
 {
     contact = _contact;
     common  = _common;
 }
Ejemplo n.º 12
0
 public ContactUsController()
 {
     repo = new ContactUsRepo();
 }
Ejemplo n.º 13
0
 public ContactusController(AppIdentityDbContext context, IContactUs contactManager)
 {
     _context        = context;
     _contactManager = contactManager;
 }
Ejemplo n.º 14
0
 public ContactUsController(IContactUs Service)
 {
     _svr = Service;
 }