Exemple #1
0
        public IActionResult ChangeName(Test changed)
        {
            if (changed != null)
            {
                if (repository.ChangeName(changed))
                {
                    return(Ok());
                }

                return(NotFound());
            }

            return(BadRequest());
        }