Esempio n. 1
0
 public ActionResult Registracion()
 {
     Session["UserIDG"] = Session["UserIDG"];
     Session["UserID"] = Session["UserID"];
     Session["User"] = Session["User"];
     ViewBag.Message = "Formulario de Registro";
     User users = new User();
     List<string> names = users.getAllUsersNames();
     ViewBag.Items = names;
     ViewBag.Serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
     return View();
 }
Esempio n. 2
0
 public ActionResult MP(string name, string title)
 {
     ViewBag.Message = "Mensaje Privado";
     Session["UserIDG"] = Session["UserIDG"];
     Session["UserID"] = Session["UserID"];
     Session["User"] = Session["User"];
     ViewBag.name = name;
     ViewBag.Asunto = title;
     User users = new User();
     List<string> names = users.getAllUsersNames();
     ViewBag.Items = names;
     ViewBag.Serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
     return View();
 }