/// <summary> /// ALL photos view - show all photo /// </summary> /// <returns>All Photos view</returns> public async Task <IActionResult> AllPhotos() { AccountUser user = await GetLoggedInUser(); List <Photos> AllPhotos = photoRepository.GetAllPhotosByUserId(user.Id); return(View(AllPhotos)); }