//----------------------------------------------------------------------------------------------------------


        public IActionResult SponsorActivity_ReadById([DataSourceRequest] DataSourceRequest request, int id)
        {
            var sponsorActivites = _Service.GetSponsorActivitiesBySponsorId(id);

            DataSourceResult result = sponsorActivites.ToDataSourceResult(request, sponsor => new SponsorActivityViewModel
            {
                Id           = sponsor.Id,
                PostedDate   = sponsor.PostedDate,
                ActivityName = sponsor.ActivityName,
                Description  = sponsor.Description,
                Author       = sponsor.Author
            });



            return(Json(result));
        }