Exemple #1
0
        /// <summary>
        /// ActivateSigleTonData
        /// </summary>
        public static void ActivateSigleTonData()
        {
            IJsonServices jsServices = UnityManager.Resolve <IJsonServices>();
            var           model      = jsServices.BasicCallAsync().GetAwaiter().GetResult();

            AirportData = model;
        }
Exemple #2
0
 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;
 }