Example #1
0
        public IEnumerable <Files> ReadFilesByUser(string id)
        {
            var result = _fileDao.ReadFilesByUser(Int32.Parse(id));

            foreach (var item in result)
            {
                userFile.Add(item.ID);
            }

            return(result);
        }