Пример #1
0
    public async Task GetTechs()
    {
        // Arrange
        var repo = new TechRepository();

        // Act
        var result = await repo.GetTechs();

        // Assert
        Assert.Equal(1, result.Count);
    }
Пример #2
0
 public TechService()
 {
     this._repository = new TechRepository();
 }