Beispiel #1
0
 public async Task <bool> UpdateLotteryEventAsync(LotteryEvent model)
 {
     return(await eventRepository.UpdateAsync(mapper.Map <LotteryEventEntity>(model)));
 }
Beispiel #2
0
 public void AddLotteryEventAsync(LotteryEvent model)
 {
     eventRepository.Add(mapper.Map <LotteryEventEntity>(model));
 }