Beispiel #1
0
        public PagamentoRepository(WePassContext context) : base(context)
        {
            var config = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(typeof(MapperProfile));
            });

            _mapper = config.CreateMapper();
        }
Beispiel #2
0
        public RepositoryBase(WePassContext context)
        {
            _db = context;
            var config = new MapperConfiguration(cfg => {
                cfg.AddProfile(typeof(MapperProfile));
            });

            _mapper = config.CreateMapper();
        }
Beispiel #3
0
 public UnitOfWorkRepository(WePassContext context) : base(context)
 {
     _context = context;
 }