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 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); }