常用方法
常用方法
常用方法
常用方法
public IActionResult SaveReview(ReviewModel model) { sessionsRepository.AddReview(model.SessionId, new Review { Content = model.Content, Rating = model.Rating, Id = Guid.NewGuid() }); return(RedirectToAction("Reviews", "Presentation", new { sessionId = model.SessionId })); }