Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public ActionResult SendForm(ContactVM model) { var cRepo = new ContactRepo(); cRepo.AddContactDetails(model.Name, model.Email, model.Message); var template = UmbracoContext.Application.Services.FileService.GetTemplate(CurrentPage.TemplateId); var path = template.VirtualPath; return(View(path, ControllerHelpers.GetHomeModel(CurrentPage, model, true))); }