예제 #1
0
        public async Task <ImageViewModel> MapToImageModel(string filePath)
        {
            string jsonString = await _imageServices.MakeAnalysisRequestAysync(filePath);

            return(Newtonsoft.Json.JsonConvert.DeserializeObject <ImageViewModel>(jsonString));
        }