예제 #1
0
        public async Task <ActionResult> Index()
        {
            var response = await OapFrequencyTypeClient.GetAllAsync(GetAllModelsCorp());

            return(View("OapFrequencyType", response.Result.Data));
        }
예제 #2
0
 private ObservableCollection <OapFrequencyType> GetOapFrequencyTypes()
 {
     return(OapFrequencyTypeClient.GetAllAsync(GetAllModelsCorp()).Result?.Result?.Data);
 }