Ejemplo n.º 1
0
        public async Task <IActionResult> MyUploadedFiles(string companyId = null)
        {
            var user = await GetLoggedInUser();

            companyId = GetNonAdminUserCompanyId();

            var model = new HomePageViewModel
            {
                FileInfos = _fileData.GetOwnerFiles(user.UserName, companyId),
                Query     = string.Empty,
                Message   = string.Empty
            };

            return(View(model));
        }