Exemple #1
0
        public IHttpActionResult Delete(int id)
        {
            var client = _appClient.GetById(id);

            if (client == null)
            {
                return(NotFound());
            }

            _appClient.Remove(client);
            return(Ok());
        }