private bool ValidateSize(string sizeUS, string category) { category = Helper.ConvertCategoryRusToEng(category); SizeChart sizeChart = SizeConverter.ReadSizeChartJson(); var menSizes = sizeChart.sizes.FindAll(x => x.category == category); var size = menSizes.Find(x => x.us == sizeUS); if (size == null) { return(false); } else { return(true); } //throw new NotImplementedException(); }