예제 #1
0
        public IActionResult AddItemToContactList([FromBody] ContactModel contact)
        {
            ReturnMessage rm = _contactListService.AddItemToContactList(contact);

            if (rm.Error)
            {
                return(NotFound(rm.Message));
            }
            else
            {
                return(Ok(rm.Message));
            }
        }