public async Task <IHttpActionResult> GetSpaceByType(string spaceType)
        {
            SpaceType sType;

            if (!System.Enum.TryParse(spaceType, true, out sType))
            {
                return(NotFound());
            }
            var result = await _spaceService?.GetSpaceByTypeAsync(sType);

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