public IActionResult SuccessfullyBought(string paintingID)
 {
     Painting = _paintings.FindObject(paintingID);
     return(View(Painting));
 }
示例#2
0
 public IActionResult PaintingView(string paintingId)
 {
     Painting           = _paintings.FindObject(paintingId);
     ViewData["UserId"] = _users.FindUser(User.Identity.Name).Id;
     return(View(Painting));
 }