public static PropertyOwnershipList ViewPropertyOwnerShip(String ownershipID)
 {
     try
     {
         Icontext objinter = new BALPropertyOwnerShip();
         PropertyOwnershipList ship = (PropertyOwnershipList)objinter.ViewRecord(Convert.ToInt64(ownershipID));
         return ship;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
 public static bool UpdatePropertyOwnerShip(PropertyOwnerShipMaster owner)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALPropertyOwnerShip();
         flag = objinter.UpdateRecord(owner);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
 public static IEnumerable<DAL.PropertyOwnershipList> PropertyOwnershipTypeList()
 {
     try
     {
         Icontext objtext = new BALPropertyOwnerShip();
         IEnumerable<DAL.PropertyOwnershipList> listRecord = (IEnumerable<DAL.PropertyOwnershipList>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
 public static IEnumerable<DAL.PropertyOwnershipList> PropertyOwnershipTypeList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALPropertyOwnerShip();
         IEnumerable<DAL.PropertyOwnershipList> listRecord = (IEnumerable<DAL.PropertyOwnershipList>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
 public static PropertyOwnerShipMaster EditPropertyOwnership(String OwnerShipID)
 {
     try
     {
         Icontext objinter = new BALPropertyOwnerShip();
         PropertyOwnerShipMaster Level = (PropertyOwnerShipMaster)objinter.EditRecord(Convert.ToInt64(OwnerShipID));
         return Level;
     }
     catch (Exception ex)
     {
         throw;
     }
 }