예제 #1
0
 public async Task Update(RecordDTO record)
 {
     await _repository.Update(_mapper.Map <Record>(record));
 }
예제 #2
0
        public async Task Insert(RecordDTO record)
        {
            record.CreateDate = DateTime.Now;

            await _repository.Insert(_mapper.Map <Record>(record));
        }