public async Task <IHttpActionResult> GetAll(string moniker, bool includeSpeakers = false) { try { if (("all").Equals(moniker)) { var results = await _repository.GetAllTalksAsync(includeSpeakers); return(Ok(_mapper.Map <IEnumerable <TalkModel> >(results))); } return(NotFound()); } catch (Exception e) { return(InternalServerError(e)); } }