Example #1
0
        public ActionResult ConfirmGroup(AppointmentModel appointmentModel)
        {
            var token = GetUserToken();

            if (string.IsNullOrEmpty(token))
            {
                return(Json(new { status = "UnAuthorized" }, JsonRequestBehavior.AllowGet));
            }
            var res = _groupManager.ConfirmGroup(token, appointmentModel);

            return(Json(res, JsonRequestBehavior.AllowGet));
        }