public JsonResult DuplicateCheckForCreate(string docno, int doctypeId) { var Exists = (_CollectionService.CheckForDocNoExists(docno, doctypeId)); return(Json(new { returnvalue = Exists })); }