Esempio n. 1
0
        public async Task <IActionResult> GetFolderById([FromQuery] int id)
        {
            try
            {
                FolderViewModel folder = await _foldersService.GetFolderById(id);

                return(Ok(folder));
            }

            catch (Exception ex)
            {
                return(BadRequest(ex));
            }
        }