public bool UpdateCabProperty(CabProperty property) { bool isFlag = false; try { using (PropertyManagementDLL propertyManagementDLL = new PropertyManagementDLL()) { isFlag = propertyManagementDLL.UpdateCabProperty(property); } return isFlag; } catch { throw; } }
public Int32 InsertCabProperty(CabProperty property) { int isFlag = 0; try { using (PropertyManagementDLL propertyManagementDLL = new PropertyManagementDLL()) { isFlag = propertyManagementDLL.InsertCabProperty(property); } return isFlag; } catch { throw; } }
public bool Active_InactiveCabProperty(string propertyIds, bool IsActive, string ModifiedBy) { bool isFlag = false; try { using (PropertyManagementDLL propertyManagementDLL = new PropertyManagementDLL()) { isFlag = propertyManagementDLL.Active_InactiveProperty(propertyIds, IsActive, ModifiedBy); } return isFlag; } catch { throw; } }
public List<CabProperty> GetCabPropertyList(Int32? propertyId, bool? IsActive) { List<CabProperty> lstproperty = null; try { using (PropertyManagementDLL propertyManagementDLL = new PropertyManagementDLL()) { lstproperty = propertyManagementDLL.GetCabProperty(propertyId, IsActive); } return lstproperty; } catch { throw; } }
/// <summary> /// To Get Cab Property list /// </summary> /// <returns></returns> public List<CabProperty> GetCabproperty(int? PropertyId, bool? IsActive) { List<CabProperty> lstgetcabproperty = null; try { using (PropertyManagementDLL cabpropertydll = new PropertyManagementDLL()) { lstgetcabproperty = cabpropertydll.GetCabProperty(PropertyId,IsActive); } return lstgetcabproperty; } catch { throw; } }