Example #1
0
        public object PutInv(System.Net.Http.HttpRequestMessage httpRequest, InvenModel.ResGetInvModel postinput)
        {
            InvenModel.ResGetInvModel oPutInv = null;
            try
            {
                InvService objser = new InvService();
                oPutInv = objser.UpdateInv(postinput);
            }

            catch (Exception ex)
            {
            }
            return(oPutInv);
        }
Example #2
0
        public object GetInventoryDetails(System.Net.Http.HttpRequestMessage httpRequest, InvenModel.ReqGetInvModel objReqInv)
        {
            List <InvenModel.ResGetInvModel> lstresInv = null;

            try
            {
                InvService objser = new InvService();
                lstresInv = objser.GetInventoryDetails(objReqInv);
            }
            catch (Exception ex)
            {
            }
            return(lstresInv);
        }