コード例 #1
0
        public async Task <HomeWorkAssignmentDto> GetHomeWorkAssignmentAsync([FromQuery] Guid homeWorkAssignmentId)
        {
            var homeWorkAssignment = await _homeWorkRepository.GetHomeWorkAssignmentWithChildrenAsync(homeWorkAssignmentId);

            var dto = HomeWorkAssignmentDto.From(homeWorkAssignment, true);

            return(dto);
        }