public string GetItemGroupListByID(clsposItems obj) { string result = ""; try { pos_Entity objEntities = new pos_Entity(); List <SP_pos_Grid_SelectAllResult> objResult = new List <SP_pos_Grid_SelectAllResult>(); objResult = objEntities.GetItemGroupListByID(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }
public string GetPosItemsDetailByPOSId(clsposItems obj) { string result = ""; try { pos_items_Entity objEntities = new pos_items_Entity(); List <SP_pos_items_SelectByPOSIdResult> objResult = new List <SP_pos_items_SelectByPOSIdResult>(); objResult = objEntities.GetPosItemsDetailByPOSId(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }
public string InsertPosItems(clsposItems obj) { string result = ""; try { pos_items_Entity objEntities = new pos_items_Entity(); // SP_customers_SelectOneResult CustomerData = new SP_customers_SelectOneResult(); long objResult; objResult = objEntities.InsertPosItems(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }