title: Blazor. Task from another service
body: <p>I'm studying blazor server.
  Deployed a solution from a standard vs template.
  Created two server-side services, <strong>TestService1</strong> and <strong>TestService2</strong>.</p>
  <p>In <strong>TestService1</strong> i have task</p>
  <pre><code>GetMyData()
  </code></pre>
  <p>How can i call with task from TestService2?</p>
  <p>If i trying</p>
  <pre><code>var serv1 = new TestService1()
  </code></pre>
  <p>i have to fill in all the variables of the constructor that is in TestService1.</p>
  <p>What is easiest way?</p>