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