コード例 #1
0
        public async Task <IActionResult> Update(Guid workoutId, Guid optionId)
        {
            User user = _userService.GetByEmail(User.Identity.Name);

            _workoutService.DeleteWorkoutOption(user, workoutId, optionId);

            return(Ok("deleted"));
        }