Exemple #1
0
 public ActionResult Sharpp([Bind(Include = "Texto")] Sharpp _sharpp)
 {
     _sharpp.Autor    = SessionService.Instance.GetUsuarioLogado().Username;
     _sharpp.Registro = DateTime.Now;
     _sharpp.Save();
     return(RedirectToAction("Index"));
 }