public JsonResult GetAllPatientCWProfile()
        {
            BL_PatientCWProfile _PatientCWProfile = new BL_PatientCWProfile();
            PatientCWProfile    AddServiceMod     = new PatientCWProfile();

            DataSet ds = _PatientCWProfile.GetAllPatientCWProfileRate();


            List <PatientCWProfile> search = new List <PatientCWProfile>();

            foreach (DataRow dr in ds.Tables[0].Rows)
            {
                search.Add(new PatientCWProfile
                {
                    ProfileID          = dr["ProfileID"].ToString(),
                    ProfileName        = dr["Name"].ToString(),
                    OrganizationID     = Convert.ToInt32(dr["OrganizationID"].ToString()),
                    OrganizationName   = dr["OrganizationName"].ToString(),
                    PatientCWProfileID = dr["PatientCWProfileID"].ToString(),
                    GeneralCharges     = dr["GeneralCharges"].ToString(),
                    EmergencyCharges   = dr["EmergencyCharges"].ToString(),
                });
            }
            return(new JsonResult {
                Data = search, JsonRequestBehavior = JsonRequestBehavior.AllowGet
            });
        }