コード例 #1
0
        public IActionResult DeleteConfirmed(string token)
        {
            var data = _dataAccessProvider.GetAthleteSingleRecord(token);

            if (data == null)
            {
                return(NotFound());
            }
            _dataAccessProvider.DeleteAthleteRecord(token);
            return(Ok());
        }