// GET: LocationController/Delete/5
 public ActionResult Delete(string name)
 {
     try
     {
         _locationBL.DeleteLocation(_locationBL.GetLocationByName(name));
         Log.Information($"Location deleted-- Name: {name}");
         return(RedirectToAction(nameof(Index)));
     }
     catch (Exception e)
     {
         Helper.WriteError(e, "Error");
         Helper.WriteFatal(e, "Fatal");
         Helper.WriteVerbose(e, "Verbose");
         return(View());
     }
 }