public DoctorPaymentController() { _doctorPaymentRepository = new DoctorPaymentRepository(); _orderRepository = new OrderRepository(); _productRepository = new ProductRepository(); _contributionRepository = new DoctorContributionRepository(); }
public HomeController() { _postRepository = new PostRepository(); _categoryPostRepository = new CategoryPostRepository(); _categoryProductRepository = new CategoryProductRepository(); _doctorPaymentRepository = new DoctorPaymentRepository(); _productRepository = new ProductRepository(); _orderRepository = new OrderRepository(); _userRepository = new UserRepository(); _contributionRepository = new DoctorContributionRepository(); }