예제 #1
0
        public async Task <IHttpActionResult> GetSpaceTotal(int id)
        {
            var result = await _spaceService?.GetTotalAsync(id);

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

            return(Ok(result));
        }