Example #1
0
 public List <City> Get_City(int cityId)
 {
     try
     {
         OperationsObj = new SellerOperations();
         return(OperationsObj.GetCity(cityId));
     }
     catch (UserException)
     {
         throw;
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 public List <City> GetCities(int stateId)
 {
     try
     {
         e = new SellerOperations();
         return(e.GetCity(stateId));
     }
     catch (UserException)
     {
         throw;
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }