public static PropertySizeList ViewPropertySize(String SizeId)
 {
     try
     {
         Icontext objinter = new BALPropertySize();
         PropertySizeList Size = (PropertySizeList)objinter.ViewRecord(Convert.ToInt64(SizeId));
         return Size;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
 public static bool UpdatePropertySize(PropertySizeMaster Size)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALPropertySize();
         flag = objinter.UpdateRecord(Size);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
 public static IEnumerable<DAL.PropertySizeList> PropertySizeList()
 {
     try
     {
         Icontext objtext = new BALPropertySize();
         IEnumerable<DAL.PropertySizeList> listRecord = (IEnumerable<DAL.PropertySizeList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
 public static IEnumerable<DAL.PropertySizeList> PropertySizeList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALPropertySize();
         IEnumerable<DAL.PropertySizeList> listRecord = (IEnumerable<DAL.PropertySizeList>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
 public static PropertySizeMaster EditPropertySize(String SizeID)
 {
     try
     {
         Icontext objinter = new BALPropertySize();
         PropertySizeMaster size = (PropertySizeMaster)objinter.EditRecord(Convert.ToInt64(SizeID));
         return size;
     }
     catch (Exception ex)
     {
         throw;
     }
 }