示例#1
0
        public async Task <bool> DeleteQuoteAsync(int quoteId)
        {
            await QuotesRepository.DeleteQuoteAsync(quoteId);

            if (await QuotesRepository.SaveChangesAsync())
            {
                return(true);
            }
            return(false);
        }