Exemple #1
0
 public CategoryService()
 {
     this.UnitOfWork = new UnitOfWork();
     this.Mapper     = MappingConfiguration.ConfigureMapper().CreateMapper();
 }
Exemple #2
0
 public BusinessService(IUnitOfWork uow)
 {
     UnitOfWork = uow ?? throw new NullReferenceException();
     Mapper     = MappingConfiguration.ConfigureMapper().CreateMapper();
 }
Exemple #3
0
 public CategoryService(IUnitOfWork uow)
 {
     this.UnitOfWork = uow ?? throw new NullReferenceException();
     this.Mapper     = MappingConfiguration.ConfigureMapper().CreateMapper();
 }
 public ProviderService()
 {
     this.UnitOFWork = new UnitOfWork();
     this.Mapper     = MappingConfiguration.ConfigureMapper().CreateMapper();
 }