예제 #1
0
        public async Task <ActionResult <bool> > Delete(Guid id)
        {
            UserViewModel user = await GetCurrentUserAsync();

            if (user == null)
            {
                return(HandleUserNotFoundResult());
            }

            var result = await _balanceService.DeleteBalanceAsync(user.Id, id);

            return(HandleResult(result));
        }