public ActionResult mtdResponder(conFOPpForoPreguntas xPobjForoPreguntas) { string respuesta = xPobjForoPreguntas.FOPrespuesta; DateTime fecha_respuesta = DateTime.Now; xPobjForoPreguntas = PobjForoPreguntas.mtdObtener(xPobjForoPreguntas.FOPid_foroPregunta); xPobjForoPreguntas.FOPrespuesta = respuesta; xPobjForoPreguntas.FOPfecha_respuesta = fecha_respuesta; xPobjForoPreguntas.mtdGuardar(); return(Redirect("conFrmVerServicioVista/" + xPobjForoPreguntas.SERid_servicio)); }
public ActionResult mtdPreguntar(conFOPpForoPreguntas xPobjForoPreguntas) { xPobjForoPreguntas.mtdGuardar(); return(Redirect("conFrmVerServicioVista/" + xPobjForoPreguntas.SERid_servicio)); }