예제 #1
0
        public ActionResult <Action> Create(Bonus bonus)
        {
            var result = _bonusService.Create(bonus);

            if (result == null)
            {
                return(NotFound());
            }
            return(Ok(result));
        }