Ejemplo n.º 1
0
        public async Task <JsonResult> DecideQuotation(int documentId, int isAccept)
        {
            var result = await quotationService.DecideQuotation(documentId, Convert.ToInt32(HttpContext.Session.GetString("User_Id")), HttpContext.Session.GetString("UserName"), ((isAccept == 1) ? true : false));

            return(new JsonResult(result, new JsonSerializerSettings()
            {
                ReferenceLoopHandling = ReferenceLoopHandling.Ignore
            }));
        }