public string RegionUpdate(string KeySesion, long IdRegion, string RegionName, string FileName)
 {
     string res = "";
     Cat_Region_Repository RegionUpdate = new Cat_Region_Repository();
     try
     {
         RegionUpdate.Regionalizacion_Update(KeySesion, IdRegion, RegionName, FileName);
     }
     catch (Exception ex)
     {
         var err = ex.Message;
     }
     return res;
 }
 public string RegionDelete(string KeySesion, long IdRegion)
 {
     string res = "";
     Cat_Region_Repository RegionDelete = new Cat_Region_Repository();
     try
     {
         RegionDelete.Regionalizacion_Delete(KeySesion, IdRegion);
     }
     catch (Exception ex)
     {
         var err = ex.Message;
     }
     return res;
 }
 public string RegionInsert(string KeySesion, string RegionName, string FileName)
 {
     string res = "";
     Cat_Region_Repository RegionInsert = new Cat_Region_Repository();
     try
     {
         RegionInsert.Regionalizacion_Insert(KeySesion, RegionName, FileName);
     }
     catch (Exception ex)
     {
         var err = ex.Message;
     }
     return res;
 }
 public ObservableCollection<Cat_Region_Model> Download_RegionSelec(string KeySesion)
 {
     ObservableCollection<Cat_Region_Model> result = new ObservableCollection<Cat_Region_Model>();
     try
     {
         using (var repository = new Cat_Region_Repository())
         {
             result = repository.get_Cat_Region(KeySesion.ToString());
         }
     }
     catch (Exception)
     {
         ;
     }
     return result;
 }