示例#1
0
        public ActionResult <Result <bool> > Post(int userId, int projectId, [FromBody] RewardPackageOptions reward)
        {
            var result = dashboardService_.AddRewardPackage(userId, projectId, reward.PackageName,
                                                            reward.RewardName, reward.Price);

            return(result);
        }