public HomeController() { consultaBLL = new ConsultaBLLImpl(); personaBLL = new PersonaBLLImpl(); userBLL = new UserBLLImpl(); mapeo = new Mapeos(); }
public ActionResult Contacto(ConsultaViewModel consultaVM) { Mapeos mapeo = new Mapeos(); T_Consultas consulta = new T_Consultas(); consulta = mapeo.mapearCVMaC(consultaVM); consultaBLL.Add(consulta); return(RedirectToAction("Contacto")); }