Exemplo n.º 1
0
        public async Task <ActionResult> DeleteCurrentUserRunAsync(int runId)
        {
            var currentUserId = HttpContext.GetCurrentUserId();

            await _runService.DeleteRunAsync(currentUserId, runId);

            return(StatusCode(StatusCodes.Status204NoContent));
        }