コード例 #1
0
        public async Task <ActionResult <FamilyTreeDto> > ConcatenateFamilyTrees(int srcId, int dstId)
        {
            var result = await _service.ConcatenateFamilyTreesAsync(srcId, dstId);

            return(new ObjectResult(new
            {
                FamilyTreeConcatenate = _mapper.MapToDto <Entity.FamilyTree, FamilyTreeDto>(result)
            }));
        }