public string GetPosDetailByCustomer() { string result = ""; try { pos_Entity objEntities = new pos_Entity(); List <SP_pos_SelectAll_By_CustomerResult> objResult = new List <SP_pos_SelectAll_By_CustomerResult>(); objResult = objEntities.GetPosDetailByCustomer(); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }
public string GetPosDetailById(clspos obj) { string result = ""; try { pos_Entity objEntities = new pos_Entity(); SP_pos_SelectOneResult objResult = new SP_pos_SelectOneResult(); objResult = objEntities.GetPosDetailById(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }
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 InsertPos(clspos obj) { string result = ""; try { pos_Entity objEntities = new pos_Entity(); // SP_customers_SelectOneResult CustomerData = new SP_customers_SelectOneResult(); long objResult; objResult = objEntities.InsertPos(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }