예제 #1
0
 public static List <StaticListItem> GetStateDivision()
 {
     try
     {
         return(CommonBiz.GetCombo("uspGetStateOrDivision"));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #2
0
 public static List <StaticListItem> GetPropertyType()
 {
     try
     {
         return(CommonBiz.GetCombo("ams.uspGetPropertyType"));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #3
0
 public static List <StaticListItem> GetThanaOrArea()
 {
     try
     {
         return(CommonBiz.GetCombo("uspGetThanaOrArea"));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #4
0
파일: CityBiz.cs 프로젝트: h-sharif16/AMS
 public static List <StaticListItem> GetCity()
 {
     try
     {
         return(CommonBiz.GetCombo("uspGetCityOrDistrict"));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #5
0
 public static List <StaticListItem> GetStateDivision(int countryId)
 {
     try
     {
         Dictionary <string, object> p = new Dictionary <string, object>();
         p.Add("CountryID", countryId);
         return(CommonBiz.GetCombo("uspGetStateOrDivision", p));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #6
0
 public static List <StaticListItem> GetPropertyType(int propertyTypeId)
 {
     try
     {
         Dictionary <string, object> p = new Dictionary <string, object>();
         p.Add("propertyTypeId", propertyTypeId);
         return(CommonBiz.GetCombo("ams.uspGetPropertyType", p));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #7
0
 public static List <StaticListItem> GetReligion(int religionId)
 {
     try
     {
         Dictionary <string, object> p = new Dictionary <string, object>();
         p.Add("ReligionId", religionId);
         return(CommonBiz.GetCombo("uspGetReligion", p));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #8
0
 public static List <StaticListItem> GetThanaOrArea(int cityOrDistrictId)
 {
     try
     {
         Dictionary <string, object> p = new Dictionary <string, object>();
         p.Add("CityOrDistrictId", cityOrDistrictId);
         return(CommonBiz.GetCombo("uspGetThanaOrArea", p));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
예제 #9
0
파일: CityBiz.cs 프로젝트: h-sharif16/AMS
 public static List <StaticListItem> GetCity(int stateDivisionId)
 {
     try
     {
         Dictionary <string, object> p = new Dictionary <string, object>();
         p.Add("StateDivisionId", stateDivisionId);
         return(CommonBiz.GetCombo("uspGetCityOrDistrict", p));
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }