コード例 #1
0
        public IHttpActionResult ApproveScore([FromUri] Guid playerId, [FromUri] Guid scoreId)
        {
            var response = _scoreRepository.ApproveScore(playerId, scoreId);

            if (response == null)
            {
                return(Ok());
            }
            return(BadRequest(response));
        }