Example #1
0
        public async Task <JsonResult> CancelQuotation(int documentId)
        {
            var result = await quotationService.CancelQuotation(documentId, Convert.ToInt32(HttpContext.Session.GetString("User_Id")), HttpContext.Session.GetString("UserName"));

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