protected BaseEFService(
     CompanyAndEmployeeManagmentContext dbContext,
     IMapper mapper)
 {
     this.DbContext = dbContext;
     this.Mapper    = mapper;
 }
 public CompanyService(CompanyAndEmployeeManagmentContext dbContext, IMapper mapper) : base(dbContext, mapper)
 {
 }
Exemplo n.º 3
0
        public void InitializeTests()
        {
            var options = new DbContextOptionsBuilder <CompanyAndEmployeeManagmentContext>().UseInMemoryDatabase(Guid.NewGuid().ToString()).Options;

            this.dbContext = new CompanyAndEmployeeManagmentContext(options);
        }