public RetrievalService(ApplicationDbContext context) { this.context = context; retrievalRepository = new RetrievalRepository(context); statusRepository = new StatusRepository(context); disbursementRepository = new DisbursementRepository(context); itemService = new ItemService(context); stockmovementService = new StockMovementService(context); disbursementService = new DisbursementService(context); }
public RequisitionService(ApplicationDbContext context) { this.context = context; retrievalService = new RetrievalService(context); disbursementService = new DisbursementService(context); requisitionRepository = new RequisitionRepository(context); requisitionDetailRepository = new RequisitionDetailRepository(context); statusRepository = new StatusRepository(context); userRepository = new UserRepository(context); statusService = new StatusService(context); }