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" })); }
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" })); }