Exemplo n.º 1
0
        public ActionResult <Prize> Create(Prize prize)
        {
            _prizeService.Create(prize);

            return(CreatedAtRoute("CreateCampaign", new { id = prize.Id.ToString() }, prize));
        }