Example #1
0
 public async Task Update(PegsDTO obj)
 {
     var model = _mapper.Map <PegsDTO, Pegs>(obj);
     await UOW.PegsRepository.Update(model);
 }
Example #2
0
 public async Task Insert(PegsDTO obj)
 {
     var model = _mapper.Map <PegsDTO, Pegs>(obj);
     await UOW.PegsRepository.Insert(model);
 }