public ActionResult Edit([Bind(Exclude = "photo")] Author author, HttpPostedFileBase photo)
 {
     if (author.Id != 0)
     {
         authorRepository.UpdateAuthor(author, photo);
     }
     else
     {
         authorRepository.AddNewAuthor(author, photo);
     }
     return(Redirect("index"));
 }