public Dictionary <long, IList <Menu> > GetMenuListWithPagingAndCriteria(int?page, int?pageSize, string sortby, string sortType, Dictionary <string, object> criteria) { try { MastersBC menu = new MastersBC(); return(menu.GetMenuListWithPagingAndCriteria(page, pageSize, sortby, sortType, criteria)); } catch (Exception) { throw; } }
public Dictionary <long, IList <UNSectorDetailedItemPrice> > GetUNSectorDetailedItemPriceListWithPagingAndCriteria(int?page, int?pageSize, string sortby, string sortType, Dictionary <string, object> criteria) { try { MastersBC masterbcobj = new MastersBC(); return(masterbcobj.GetUNSectorDetailedItemPriceListWithPagingAndCriteria(page, pageSize, sortby, sortType, criteria)); } catch (Exception) { throw; } }
public Dictionary <long, IList <DocumentTypeMaster> > GetDocumentTypeMasterListWithPagingAndCriteria(int?page, int?pageSize, string sortby, string sortType, Dictionary <string, object> criteria) { try { MastersBC documenttypeBC = new MastersBC(); return(documenttypeBC.GetDocumentTypeMasterListWithPagingAndCriteria(page, pageSize, sortby, sortType, criteria)); } catch (Exception) { throw; } }
public Menu GetDeleteMenurowById(long Id) { try { MastersBC MastersBC = new MastersBC(); return(MastersBC.GetDeleteMenurowById(Id)); } catch (Exception) { throw; } finally { } }
public long SaveOrUpdateUNDetailedItemMasterPrice(UNSectorDetailedItemPrice itm) { try { MastersBC masterbcobj = new MastersBC(); masterbcobj.SaveOrUpdateUNDetailedItemMasterPrice(itm); return(itm.Id); } catch (Exception ex) { throw ex; } finally { } }
public long CreateOrUpdateEmailLog(EmailLog el) { try { MastersBC documenttypeBC = new MastersBC(); documenttypeBC.CreateOrUpdateEmailLog(el); return(el.Id); } catch (Exception ex) { throw; } finally { } }
public long SaveOrUpdateSubMenuDetails(Menu mu) { try { MastersBC MastersBC = new MastersBC(); MastersBC.SaveOrUpdateSubMenuDetails(mu); return(mu.Id); } catch (Exception ex) { if (ex.ToString().Contains("Cannot insert duplicate key row in object 'dbo.QUEUE' with")) { throw new FaultException("Cannot insert duplicate key in Queue Name."); } throw; } finally { } }
public long DeleteMenufunction(Menu mu) { try { MastersBC MastersBC = new MastersBC(); MastersBC.DeleteMenufunction(mu); return(0); } catch (Exception ex) { if (ex.ToString().Contains("Cannot insert duplicate key row in object 'dbo.QUEUE' with")) { throw new FaultException("Cannot insert duplicate key in Queue Name."); } throw; } finally { } }
public long GetCurrentIntent(string table) { try { MastersBC mBC = new MastersBC(); long a = mBC.GetCurrentIntent(table); return(a); } catch (Exception ex) { if (ex.ToString().Contains("Cannot insert duplicate key row in object 'dbo.QUEUE' with")) { throw new FaultException("Cannot insert duplicate key in Queue Name."); } throw; } finally { } }