/// <summary> /// ActivateSigleTonData /// </summary> public static void ActivateSigleTonData() { IJsonServices jsServices = UnityManager.Resolve <IJsonServices>(); var model = jsServices.BasicCallAsync().GetAwaiter().GetResult(); AirportData = model; }
public RestApiController( IUserBookServices userBookServices, IUserServices userServices, IJsonServices jsonServices, IXmlServices xmlServices, ICsvServices csvServices, IQrCodeServices qrCodeServices, IBookServices bookServices) { this.userBookServices = userBookServices; this.userServices = userServices; this.jsonServices = jsonServices; this.xmlServices = xmlServices; this.csvServices = csvServices; this.qrCodeServices = qrCodeServices; this.bookServices = bookServices; }