public ActionResult DeleteAppoinment(int Id, string Note, string CPno, string MbNo)
        {
            Bal_PatientDetails BP = new Bal_PatientDetails();
            SMS sms = new SMS();

            try
            {
                int          hospitalId;
                AdminDetails admObj = (AdminDetails)Session["UserDetails"];
                hospitalId = admObj.HospitalId;

                List <QueueDetails> LST = new List <QueueDetails>();

                LST = BP.DeleteAppoinment(hospitalId, Id, Note, admObj.RoleId);
                if (true)
                {
                    string message = "Your appointment has been cancelled, CP No. " + CPno + ". Download Meet My Doctor app to manage your health records - TECHBULB";
                    //string message = "Your appoinment has been cancellled, CP no: " + CPno + ". Download 'Meet My Doctor' app to manage your health records -  https://esmartdoctor.com";
                    sms.SendSMS(MbNo, message);
                }

                // PatientCount(admObj.HospitalId, admObj.UserId);
                return(Json("1", JsonRequestBehavior.AllowGet));
            }
            catch (Exception)
            {
                throw;
            }
        }