public ActionResult Delete(int id)
 {
     try
     {
         IRepositorio<Blog> myRepoBlog = new BlogRepositorio();
         myRepoBlog.Delete(myRepoBlog.GetById(id));
         return RedirectToAction("Index");
     }
     catch
     {
         return RedirectToAction("Index");
     }
 }
 public ActionResult Edit(int id)
 {
     IRepositorio<Blog> myRepoBlog = new BlogRepositorio();
     return View(myRepoBlog.GetById(id));
 }