/// <summary>
 /// Returns all layers and if they are satisfied by the map
 /// </summary>
 /// <param name="Id"></param>
 /// <returns></returns>
 public ActionResult MapLayers(int Id)
 {
     List<MapLayerBO> layers = MapBLL.GetAllLayersByMapAttachmentID(Id);
     MapAttachmentBO map = MapBLL.GetMap(Id);
     MapLayersVM model = new MapLayersVM(layers) { MapAttachmentId = Id, MapAttachmentName = map.MapAttachment.Description };
     return PartialView(model);
 }
 /// <summary>
 /// Returns all layers and if they are satisfied by the permit
 /// </summary>
 /// <param name="PermitKey"></param>
 /// <returns></returns>
 public ActionResult PermitLayers(int PermitKey)
 {
     List<MapLayerBO> layers = MapBLL.GetAllLayers(PermitKey);
     MapLayersVM model = new MapLayersVM(layers) { MapAttachmentName = "Permit", MapAttachmentId = -1 };
     return PartialView("MapLayers", model);
 }