public IActionResult GetMyTalks(string moniker)
        {
            try
            {
                var speaker = _repo.GetSpeakerForCurrentUser(moniker, User.Identity.Name);
                return(Ok(Mapper.Map <IEnumerable <TalkViewModel> >(speaker.Talks)));
            }
            catch (Exception ex)
            {
                _logger.LogError("Failed to get my talks: {0}", ex);
            }

            return(BadRequest("Couldn't load talks."));
        }
        public IActionResult GetCurrent(string moniker)
        {
            try
            {
                var speaker = _repo.GetSpeakerForCurrentUser(moniker, User.Identity.Name);
                if (speaker == null)
                {
                    speaker = new Speaker();
                }
                return(Ok(Mapper.Map <SpeakerViewModel>(speaker)));
            }
            catch (Exception ex)
            {
                _logger.LogError("Failed to get current speaker: {0}", ex);
            }

            return(BadRequest("Failed to get Speakers"));
        }