Example #1
0
        // private readonly IPublisher _Publisher;

        public ProductService(
            IRepositoryCrud <Guid, Product> repository,
            // IPublisher publisher,
            IUnitOfWork unitOfWork) : base(repository, unitOfWork)
        {
            // _Publisher = publisher;
        }
Example #2
0
 public VendaService(IRepositoryCrud <Venda> repository, IMapper mapper, ICurrentUserAccessor currentUserAccessor)
 {
     _repository          = repository;
     _mapper              = mapper;
     _currentUserAccessor = currentUserAccessor;
 }
 protected GenericServiceCrud(IRepositoryCrud <TKey, TEntity> repository, IUnitOfWork unitOfWork)
 {
     _Repository = repository;
     _UnitOfWork = unitOfWork;
 }
Example #4
0
 public DependentesController(IRepositoryCrud <Dependente> repository)
 {
     this.repository = repository;
 }
Example #5
0
 public GenericServiceCrud(IRepositoryCrud <TKey, TEntity> repository)
 {
     _Repository = repository;
 }
 public ControleService(IRepositoryCrud <Controle> repository, IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
Example #7
0
 public GrupoService(IRepositoryCrud <Grupo> repository, IMapper mapper, ICurrentUserAccessor currentUserAccessor)
 {
     _repository          = repository;
     _mapper              = mapper;
     _currentUserAccessor = currentUserAccessor;
 }
Example #8
0
 public AssociadosController(IRepositoryCrud <Associado> repository)
 {
     this.repository = repository;
 }
 public DeveloperService(IRepositoryCrud <Guid, Developer> repository, IUnitOfWork unitOfWork) : base(repository, unitOfWork)
 {
 }