コード例 #1
0
        public IActionResult GetASession(int sessionId)
        {
            var singleSession = _repository.GetASession(sessionId);

            if (singleSession == null)
            {
                NotFound("No session to be found");
            }
            return(Ok(singleSession));
        }