예제 #1
0
        public async Task <HistoryRecord> SaveHistoryAsync(HistoryRecord record)
        {
            var result = await Records.AddAsync(record);

            await this.SaveChangesAsync();

            return(result.Entity);
        }