public async Task <string> Get() { IBuy mybuy = ServiceProxy.Create <IBuy>(new Uri("fabric:/TSEIS/Requester")); bool ok = await mybuy.BuyStockAsync(); return(ok.ToString()); }
public buyAcarModel(IHostingEnvironment hostingEnv, ICheck incomes, IManufacture manufacture, IOutcome outcome, ICar car, IBuy buy, ICash cash, ICheck check, IBuyRecords buyrecord, Iperson saleperson, Ifile file) { _incomes = incomes; _hostingEnv = hostingEnv; _manufacture = manufacture; _outcome = outcome; _car = car; _buy = buy; _cash = cash; _check = check; _buyrecord = buyrecord; _saleperson = saleperson; _file = file; }
public void SetStrategy(IBuy buy) { _buy = buy; }