コード例 #1
0
        public IActionResult RemoveByPersonId(int personId)
        {
            var result = _contactInfoService.RemoveAllContactByPersonId(personId);

            if (!result.Success)
            {
                return(BadRequest(result.Message));
            }
            return(Ok(result.Message));
        }