public PurchaseController(IServicesPurchases<Purchase> servicePurchase, IServicesProducts<Products> serviceProducts, IServicesBuyers<Buyers> serviceBuyers)
 {
     this.servicePurchase = servicePurchase;
     this.serviceProducts = serviceProducts;
     this.serviceBuyers = serviceBuyers;
 }
 public SearchingController(IServicesBuyers<Buyers> service, ISearchClass searching)
 {
     this.service = service;
     this.searching = searching;
 }