示例#1
0
        public async Task <JObject> GetRainFallJsonDataAsync(string path, AllowedFileExtensionEnum fileType)
        {
            _logger.LogDebug("Bom client invoked");

            var bomData = await _dataSourceReader.ReadDataAsync(path, fileType);

            var bomDataViewModel = await _bomRainFallService.GetRainFallJsonDataAsync(bomData);

            _logger.LogDebug("Bom client end");

            return(_jsonParser.CovertDataToJsonObject(bomDataViewModel));
        }