Esempio n. 1
0
        public async Task <IActionResult> GetFileList(string userId)
        {
            var fileList = await _socketServer.SendWithResult <IEnumerable <FileInfo> >(
                userId,
                new MessageBase { Type = Contracts.Enums.MessageType.FILE_LIST_REQUEST });

            return(Ok(fileList));
        }