public ActionResult KolSaaty([FromBody] Alternative[] array) { for (int i = 0; i < array.Length; i++) { array[i].Mark = NormalizationHelper.MarkToSaatyRange(array[i].Mark); } var saaty = NormalizationHelper.KolSaaty(array); return(Ok(saaty)); }
public ActionResult KolSaaty([FromBody] Alternative[] array) { for (int i = 0; i < array.Length; i++) { array[i].Mark = NormalizationHelper.MarkToSaatyRange(array[i].Mark); } var saaty = NormalizationHelper.KolSaaty(array); return(Ok(saaty)); }