public void DeleteUNDetailedItemMasterPrice(UNSectorDetailedItemPrice itm) { try { mbc.DeleteUNDetailedItemMasterPrice(itm); } catch (Exception ex) { throw ex; } finally { } }
public long SaveOrUpdateUNDetailedItemMasterPrice(UNSectorDetailedItemPrice itm) { try { MastersBC masterbcobj = new MastersBC(); masterbcobj.SaveOrUpdateUNDetailedItemMasterPrice(itm); return(itm.Id); } catch (Exception ex) { throw ex; } finally { } }
public void DeleteUNDetailedItemMasterPrice(UNSectorDetailedItemPrice im) { try { if (im != null) { PSF.Delete <UNSectorDetailedItemPrice>(im); } else { throw new Exception("Value is required and it cannot be null.."); } } catch (Exception ex) { throw ex; } }
public long SaveOrUpdateUNDetailedItemMasterPrice(UNSectorDetailedItemPrice im) { try { if (im != null) { PSF.SaveOrUpdate <UNSectorDetailedItemPrice>(im); } else { throw new Exception("All Fields are required and it cannot be null.."); } return(im.Id); } catch (Exception ex) { throw ex; } }
public UNSectorDetailedItemPrice GetNDetailedItemMasterPriceById(long Id) { try { UNSectorDetailedItemPrice cntm = null; if (Id > 0) { cntm = PSF.Get <UNSectorDetailedItemPrice>(Id); } else { throw new Exception("Id is required and it cannot be 0"); } return(cntm); } catch (Exception ex) { throw ex; } }