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