public IList <LotteryDataOutput> GetLotteryData() { var lotteryDatas = _lotteryDapperService.All(); return(Mapper.Map(lotteryDatas, new List <LotteryDataOutput>())); }