public double Get() { ICalculo soma = serviceProvider.GetService <ICalculo>(); return(soma.Calcular(100, 200)); }
public double GetSoma(double a, double b) => _calculo.Calcular(a, b);
public double Get(double a, double b) => calculo.Calcular(a, b);