/// <summary> /// This Method is used to Select data /// </summary> /// <param name="objCountry">Action</param> /// <returns>1 for success and -1 for fail</returns> public string RecordSelect(PropState objState, string UserName) { DllState objDal = new DllState(); try { return(objDal.SelectState(objState, UserName)); } catch (Exception info) { throw info; } finally { objDal = null; } }
/// <summary> /// This Method is used to Select data /// </summary> /// <param name="objCountry">Action</param> /// <returns>1 for success and -1 for fail</returns> public string SelectStates(PropState objState) { DllState objDal = new DllState(); try { return(objDal.CountryWiseState(objState)); } catch (Exception info) { throw info; } finally { objDal = null; } }