Exemplo n.º 1
0
        public async Task <IHttpActionResult> GetSpace(int id, int page = 1, int count = 100, string sort = null)
        {
            var result = await _spaceService?.GetAsync(id, page, count, sort);

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok(result));
        }