public async Task <PartialViewResult> MostrarFotos(string id) { var userPrincipal = this.User; var currentUser = await _userManager.GetUserAsync(userPrincipal); var model = new FotoViewerViewModel { Fotos = await _fotoRepository.GetAllFotosByUserId(id), CurrentUser = await _userRepository.GetById(currentUser.Id) }; return(PartialView("FotoViewer", model)); }