public CategoryService() { this.UnitOfWork = new UnitOfWork(); this.Mapper = MappingConfiguration.ConfigureMapper().CreateMapper(); }
public BusinessService(IUnitOfWork uow) { UnitOfWork = uow ?? throw new NullReferenceException(); Mapper = MappingConfiguration.ConfigureMapper().CreateMapper(); }
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(); }