public JsonResult CheckShortCode(string Code) { var details = _shopService.CheckShortCode(Code); string msg = string.Empty; if (details == null) { msg = "accept"; } else { msg = "reject"; } return(Json(msg, JsonRequestBehavior.AllowGet)); }
public JsonResult CheckShortCode(string Code) { var details = _shopService.CheckShortCode(Code); string msg = string.Empty; if (details == null) { msg = "accept"; } else { msg = "reject"; } return(Json(msg, JsonRequestBehavior.AllowGet)); }