public ActionResult Delete(int id, FormCollection collection)
 {
     if (GetAuthorization(_locationService.GetById(id)))
     {
         try
         {
             _locationService.Delete(id);
             _locationService.SaveChanges();
             return(RedirectToAction("Index"));
         }
         catch
         {
             InitializeViews(id, null, null);
             return(RedirectToAction("Index"));
         }
     }
     else
     {
         return(RedirectToLogOn());
     }
 }