Пример #1
0
        public async Task <Quote> SaveAsync(Quote quote)
        {
            quote.DateCreated = DateTime.UtcNow;

            return(await repository.SaveAsync(quote));
        }
Пример #2
0
        public async Task <ThirdPartyRate> SaveAsync(ThirdPartyRate rate)
        {
            rate.DateCreated = DateTime.UtcNow;

            return(await thirdPartyRepository.SaveAsync(rate));
        }
Пример #3
0
        public async Task <RateFeed> SaveAsync(RateFeed rateFeed)
        {
            rateFeed.DateCreated = DateTime.UtcNow;

            return(await repository.SaveAsync(rateFeed));
        }