/// <summary> /// This Method is used to Select data /// </summary> /// <param name="objCategory">Action</param> /// <returns>1 for success and -1 for fail</returns> public string RecordSelect(PropMemberShipPlan objProperty) { DllMemberShipPlan objDal = new DllMemberShipPlan(); try { return(objDal.SelectMemberShip(objProperty)); } catch (Exception info) { throw info; } finally { objDal = null; } }
/// <summary> /// This Method is used to Delete data /// </summary> /// <param name="objCategory">ID and Action</param> /// <returns>1 for success and -1 for fail</returns> public string RecordDelete(PropMemberShipPlan objProperty, string UserName) { DllMemberShipPlan objDal = new DllMemberShipPlan(); try { return(objDal.DeleteMemberShip(objProperty, UserName)); } catch (Exception info) { throw info; } finally { objDal = null; } }