Пример #1
0
 public string Sub([FromServices] ISub sub, int a, int b)
 {
     return($"{a} - {b} = {sub.Calc(a, b)}");
 }