public double?DbGetValue(double?height, double?depth, double ratio) { return(DbGetRatingValueClass.Calculate(height, depth, ratio)); }
/// <summary> /// Returns the computed value of Height * Depth on a scale of 11. /// </summary> /// <param name="ratio">Ratio between -1 and 1 representing the priority between Height and Depth. /// If Ratio is under 0, Height is prioritized. If Ratio is over 0, Depth is prioritized.</param> /// <returns></returns> public double?GetValue(double ratio) { return(DbGetRatingValueClass.Calculate(Height, Depth, ratio)); }