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)); }