public Mapping(AccountRepository accRepo, BillRepository billRepo, GoodRepository goodRepo, GoodTypeRepository goodTypeRepo, ImportanceRepository impRepo, UserRepository userRepo) { this.accRepo = accRepo; this.billRepo = billRepo; this.goodRepo = goodRepo; this.goodTypeRepo = goodTypeRepo; this.impRepo = impRepo; this.userRepo = userRepo; }
public GoodTypeService(GoodTypeRepository goodTypeRepository, IMapper mapper, AbstractValidator <GoodTypeDTO> validator) { this.repository = goodTypeRepository; this.mapper = mapper; this.validator = validator; }