コード例 #1
0
 public ActionResult AddFavorite(int exerciseId, int userId)
 {
     logic.AddFavorite(userId, exerciseId);
     return(RedirectToAction("Index", "Exercise"));
 }