public string GetItemPriceByItemId(clsitemPrice obj) { string result = ""; try { item_price_Entity objEntities = new item_price_Entity(); List <SP_item_price_SelectByItemIdResult> objResult = new List <SP_item_price_SelectByItemIdResult>(); objResult = objEntities.GetItemPriceByItemId(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }
public string DeleteItemPriceByItemId(clsitemPrice obj) { string result = ""; try { item_price_Entity objEntities = new item_price_Entity(); long objdeleteResult; objdeleteResult = objEntities.DeleteItemPriceByItemId(obj); result = objdeleteResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }
public string InsertItemPrice(clsitemPrice obj) { string result = ""; try { item_price_Entity objEntities = new item_price_Entity(); // SP_customers_SelectOneResult CustomerData = new SP_customers_SelectOneResult(); long objResult; objResult = objEntities.InsertItemPrice(obj); result = objResult.ToJSON(); } catch (Exception ex) { LoggerFactory.LoggerInstance.LogException(ex); } finally { LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result); } return(result); }