public static PropertyLevelList ViewPropertyLevel(String LevelID) { try { Icontext objinter = new BALPropertyLevel(); PropertyLevelList Type = (PropertyLevelList)objinter.ViewRecord(Convert.ToInt64(LevelID)); return Type; } catch (Exception ex) { throw; } }
public static bool UpdatePropertyLevel(PropertyLevelMaster Level) { Boolean flag = false; try { Icontext objinter = new BALPropertyLevel(); flag = objinter.UpdateRecord(Level); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.PropertyLevelList> PropertyLevelList() { try { Icontext objtext = new BALPropertyLevel(); IEnumerable<DAL.PropertyLevelList> listRecord = (IEnumerable<DAL.PropertyLevelList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.PropertyLevelList> PropertyLevelList(String Field, String Value) { try { ISearchResult objtext = new BALPropertyLevel(); IEnumerable<DAL.PropertyLevelList> listRecord = (IEnumerable<DAL.PropertyLevelList>)objtext.SearchResultList(Field, Value); return listRecord; } catch (Exception ex) { throw; } }
public static PropertyLevelMaster EditPropertyLevel(String LevelID) { try { Icontext objinter = new BALPropertyLevel(); PropertyLevelMaster Level = (PropertyLevelMaster)objinter.EditRecord(Convert.ToInt64(LevelID)); return Level; } catch (Exception ex) { throw; } }