public ActionResult Edit(Blog blog)
 {
     db.Entry(blog).State = System.Data.Entity.EntityState.Modified;
     db.SaveChanges();
     return View();
 }
 public ActionResult AddBlog(Blog blog)
 {
     db.Blogs.Add(blog);
     db.SaveChanges();
     return View();
 }