public JsonResult CampaignDashBoardList(string campaign)         // accepts campaign of the country and passes the list of data by JSON call
        {
            List <string>     data        = new List <string>();         // asigned the returned list to this and pass it to json parameter
            ChartsViewModel   cVM         = new ChartsViewModel();
            String            uId         = User.Identity.GetUserId();   // get logged in users Id
            RegisterViewModel userDetails = cVM.GetUserDetailsById(uId); // get signed in users details

            var country = userDetails.Country;

            try
            {
                // here you need to get the data to display it in the chart
                var response = cVM.GetAllTheDeTailsRelatedToEachCountry(country, campaign);

                if (!object.Equals(response, null))
                {
                    data = response;
                }
            }
            catch (Exception ex)
            {
                throw;
            }
            return(Json(data, JsonRequestBehavior.AllowGet));
        }
        public JsonResult CampaignDashBoardList(string country, string campaign) // accepts campaign of the country and passes the list of data by JSON call
        {
            ChartsViewModel cVM  = new ChartsViewModel();
            List <string>   data = new List <string>(); // asigned the returned list to this and pass it to json parameter

            try
            {
                // here you need to get the data to display it in the chart
                var response = cVM.GetAllTheDeTailsRelatedToEachCountry(country, campaign);

                if (!object.Equals(response, null))
                {
                    data = response;
                }
            }
            catch (Exception ex)
            {
                throw;
            }
            return(Json(data, JsonRequestBehavior.AllowGet));
        }