/// <summary> /// This Method is used to Insert data /// </summary> /// <param name="objcountry">JobType,Category Name,</param> /// <returns>1 for success and -1 for fail</returns> public string RecordInsert(PropCountry objCountry, string UserName) { PropService p = new PropService(); Dllcountry objDal = new Dllcountry(); try { return(objDal.Insertcountry(objCountry, UserName)); } catch (Exception info) { throw info; } finally { objDal = null; } }