public bool Save() { SharppService ss = new SharppService(); ss.PostSharpp(this); return(true); }
public ActionResult Create([Bind(Include = "Id,Autor,Texto,Registro,Like,Resposta")] Sharpp sharpp) { if (ModelState.IsValid) { _sharpp.PostSharpp(sharpp); return(RedirectToAction("Index")); } return(View(sharpp)); }