Exemplo n.º 1
0
 public string Add([FromServices] IAdd add, int a, int b)
 {
     return($"{a} + {b} = {add.Calc(a,b)}");
 }