public ActionResult _GetCohostEditions(int editionId)
        {
            var cohosts = EditionCoHostServices.GetEditionCohosts(editionId);

            var model = new CohostEditionListModel
            {
                EditionId      = editionId,
                EditionCohosts = cohosts
            };

            return(PartialView("_CohostEditions", model));
        }
        private int SetEditionCohostedEventStatus(int editionId)
        {
            var cohosts = EditionCoHostServices.GetEditionCohosts(editionId);

            if (!cohosts.Any() || cohosts.Count == 1)
            {
                var edition        = EditionServices.GetEditionById(editionId);
                var currentEdition = (EditionEntity)edition.Clone();

                edition.CohostedEvent = cohosts.Any();
                EditionServices.UpdateEdition(editionId, edition, CurrentCedUser.CurrentUser.UserId);

                UpdateLogInMemory(currentEdition, edition, null, null);
            }

            return(cohosts.Count);
        }