示例#1
0
        public async Task <IActionResult> Delete(long accountid, long id)
        {
            var result = await _repo.DeleteEntryFromAccountAsync(accountid, id);

            if (result > 0)
            {
                return(Ok());
            }
            else
            {
                return(NotFound());
            }
        }