Example #1
0
        public async Task <IActionResult> UpdateName(int id, [FromBody] TeamRequest request)
        {
            var result = await _teamManager.UpdateAsync(id, request);

            return(Ok(new ApiResponse(_localizationService, _logger).Ok(_mapper.Map <Team, TeamResponse>(result))));
        }