Exemple #1
0
 public CompanyService(ICompanyRepository companyRepository, IExpenseRepository expenseRepository, IProfitRepository profitRepository, IUnitOfWork unitOfWork)
 {
     _companyRepository = companyRepository;
     _expenseRepository = expenseRepository;
     _profitRepository  = profitRepository;
     _unitOfWork        = unitOfWork;
 }
Exemple #2
0
 public ProfitManagerTestController(DashboardContext context, IProfitRepository repository)
 {
     _context         = context;
     this._repository = repository;
 }
Exemple #3
0
 public ProfitsController(IMapper maper,
                          IProfitRepository profitRepo)
 {
     _maper      = maper;
     _profitRepo = profitRepo;
 }
Exemple #4
0
 public ProfitService(IProfitRepository profitRepository, IMyMapper mapper)
     : base(profitRepository, mapper)
 {
     _profitRepository = profitRepository;
 }