Example #1
0
        public FileUpload addFile(FileUpload item)
        {
            var data = dao.addFile(new L_FileUpload()
            {
                fileName   = item.fileName,
                ipAddress  = item.ipAddress,
                macAddress = item.macAddress,
                type       = item.type,
                uploadDate = item.uploadDate,
                userId     = item.userId
            });

            return(ConvertToScreenModel.Logs.fileUpload(data));
        }