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

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

            _mapper = config.CreateMapper();
        }
Ejemplo n.º 3
0
 public UnitOfWorkRepository(WePassContext context) : base(context)
 {
     _context = context;
 }