public Countries GetCountriesByID(int id)
 {
     objcountry = null;
     objcountry = DataRepository.CountriesProvider.GetById(id);
     return objcountry;
 }
 public string UpdateCountries(Countries orduser)
 {
     TransactionManager transaction = null;
     try
     {
         transaction = DataRepository.Provider.CreateTransaction();
         transaction.BeginTransaction();
         if (DataRepository.CountriesProvider.Update(orduser))
         {
             // Show proper message
         }
         else
         {
             return "Information could not be saved.";
         }
         transaction.Commit();
         return "Information Update successfully.";
     }
     catch (Exception e)
     {
         transaction.Rollback();
         return "Information could not be saved.Please contact Administrator.";
     }
 }