Пример #1
0
        public async Task <ActionResult> Delete(Guid id)
        {
            // Validation
            if (id == null)
            {
                return(BadRequest());
            }

            AccountBLL bll = new AccountBLL(this.unitOfWork);

            await bll.DeleteAccountById(id);

            return(Ok());
        }