Ejemplo n.º 1
0
        public IActionResult Create([FromBody] AddressType newentry)
        {
            var result = _repository.Add(newentry);

            return(CreatedAtRoute("GetAddressType", new { id = newentry.AddressTypeID }, newentry));
        }