示例#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();
 }