Пример #1
0
        public List <PurchaseRequestDetail> GeneratePurchaseRequest([FromBody] List <string> productId)
        {
            int clerkid = (int)HttpContext.Session.GetInt32("Id");
            List <PurchaseRequestDetail> prlist = scservice.AddPurchaseRequest(productId, clerkid);

            return(prlist);
        }