コード例 #1
0
        public IActionResult GetBytId(Guid Id)
        {
            if (Id == null)
            {
                return(BadRequest());
            }

            var folder = _folderRepository.GetFolderById(Id);

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

            var apiFolder = (ApiFolder)folder;

            return(Ok(apiFolder));
        }