public async Task <IActionResult> Get(int id) { var divisiontDTO = await _contextManager.GetDivisionByIdAsync(id); if (divisiontDTO == null) { return(NotFound("No division from given id found.")); } return(Ok(divisiontDTO.ToDivisionV1DTO())); }