public static bool UpdateProperty(PropertyMaster prop) { Boolean flag = false; try { Icontext objinter = new BALProperty(); flag = objinter.UpdateRecord(prop); } catch (Exception ex) { throw; } return flag; }
public static PropertyList ViewProperty(String propID) { try { Icontext objinter = new BALProperty(); PropertyList prop = (PropertyList)objinter.ViewRecord(Convert.ToInt64(propID)); return prop; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.PropertyList> UnOccupyPropertyList() { try { IListRecord objtext = new BALProperty(); IEnumerable<DAL.PropertyList> listRecord = (IEnumerable<DAL.PropertyList>)objtext.ListRecord(); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.PropertyList> PropertyList(String Field, String Value) { try { ISearchResult objtext = new BALProperty(); IEnumerable<DAL.PropertyList> listRecord = (IEnumerable<DAL.PropertyList>)objtext.SearchResultList(Field, Value); return listRecord; } catch (Exception ex) { throw; } }
public static IEnumerable<DAL.PropertyList> PropertyList() { try { Icontext objtext = new BALProperty(); IEnumerable<DAL.PropertyList> listRecord = (IEnumerable<DAL.PropertyList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static PropertyMaster EditProperty(String PropID) { try { Icontext objinter = new BALProperty(); PropertyMaster prop = (PropertyMaster)objinter.EditRecord(Convert.ToInt64(PropID)); return prop; } catch (Exception ex) { throw; } }
public static Boolean CreateProperty(PropertyMaster Prop) { Boolean flag = false; try { Icontext objtext = new BALProperty(); flag = objtext.CreateRecord(Prop); } catch (Exception ex) { throw; } return flag; }