Ejemplo n.º 1
0
        public IActionResult Post([FromBody] CardViewModel CardViewModel)
        {
            if (!ModelState.IsValid)
            {
                NotifyModelStateErrors();
                return(Response(CardViewModel));
            }

            _CardAppService.Register(CardViewModel);

            return(Response(CardViewModel));
        }