コード例 #1
0
        public RepositoryUser(EstacionamentoVeiculosContext context) : base(context)
        {
            var config = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile(typeof(MapperProfile));
            });

            _mapper = config.CreateMapper();
        }
コード例 #2
0
 public RepositoryUnitOfWork(EstacionamentoVeiculosContext context) : base(context)
 {
     _context = context;
 }