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

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