public ActionResult Edit(LocEditVM location2BUpdated)
 {
     if (ModelState.IsValid)
     {
         try
         {
             _locationBL.UpdateLocation(_mapper.cast2Location(location2BUpdated));
             Log.Information($"Location updated-- Name: {location2BUpdated.LocName}");
             return(RedirectToAction(nameof(Index)));
         }
         catch (Exception e)
         {
             Helper.WriteError(e, "Error");
             Helper.WriteFatal(e, "Fatal");
             Helper.WriteVerbose(e, "Verbose");
             return(View());
         }
     }
     return(View());
 }