// GET: Dogs/Delete/5
 public ActionResult Delete(int id)
 {
     try
     {
         using (BusinessLogicLayer.ContextBLL ctx = new BusinessLogicLayer.ContextBLL())
         {
             ctx.DogFindByID(id);
         }
         return(View());
     }
     catch (Exception ex)
     {
         Logger.Logger.Log(ex);
         return(View("Error"));
     }
 }
 // GET: Dogs/Details/5
 public ActionResult Details(int id)
 {
     try
     {
         DogBLL it = null;
         using (BusinessLogicLayer.ContextBLL ctx = new BusinessLogicLayer.ContextBLL())
         {
             it = ctx.DogFindByID(id);
         }
         return(View(it));
     }
     catch (Exception ex)
     {
         Logger.Logger.Log(ex);
         return(View("Error"));
     }
 }