Example #1
0
        public IActionResult Add(ContactInfo contactInfo)
        {
            var result = _contactInfoService.AddContactInfo(contactInfo);

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