예제 #1
0
 /// <summary>
 /// 得到省信息
 /// </summary>
 /// <param name="ProvinceId"></param>
 /// <param name="Count"></param>
 /// <param name="olist"></param>
 /// <returns></returns>
 public string GetProvinceList(int?ProvinceId, out int Count, out List <ProvinceModel> olist)
 {
     olist = new List <ProvinceModel>();
     Count = 0;
     try
     {
         olist = pd.GetProvince(ProvinceId, out Count);
         return(Config.Success);
     }
     catch (Exception ex)
     {
         WriteLog.WriteExceptionLog("Province_City_CarBLL.GetProvinceList()", ex);
         return(Config.ExceptionMsg);
     }
 }
예제 #2
0
 public IHttpActionResult GetProvince()
 {
     return(Ok(provinceDAL.GetProvince()));
 }