예제 #1
0
        public async Task <ActionResult <int> > Relatation(int id, [FromBody] RelatedPersonCreateViewModel model)
        {
            var result = await _service.AddedRelatedPersonAsync(id, _mapper.Map <RelatedPersonCreateRequest>(model));

            return(CustomResult(result));
        }