예제 #1
0
        public async Task <IHttpActionResult> GetAllAsync()
        {
            var result = await _logService?.GetAllAsync();

            if (result == null || !result.Any())
            {
                return(NotFound());
            }

            return(Ok(result));
        }