Beispiel #1
0
        public IHttpActionResult Delete(int id)
        {
            AccountQueries _accountQueries = new AccountQueries();
            Account        account         = _accountQueries.GetOneById(id);

            _accountQueries.Delete(account);
            return(Ok());
        }