public List <srhCls> getsrhItem([FromBody] srhPrm prm) { var model = new BorgWarnerMisSQLContext(); var testData = model.Database.SqlQuery <srhCls>($"EXECUTE dbo.QforSrhItem @prodLine='{prm.pline}',@srh='{prm.srhCont}' ").ToList(); return(testData); }
public List <orderRes> getOrder([FromBody] srhPrm prm) { var model = new BorgWarnerMisSQLContext(); var testData = model.Database.SqlQuery <orderRes>($"EXECUTE dbo.QforWebOrderRelease @prodLine='{prm.pline}',@srh='{prm.srhCont}' ").ToList(); return(testData); }