コード例 #1
0
 public ActionResult AddToCollection([FromQuery(Name = "coinId")] string coinId, [FromQuery(Name = "userId")] string userId)
 {
     _collectionService.AddToCollection(coinId, userId);
     return(Ok(new { message = "Coin added to collection" }));
 }