Пример #1
0
 public async Task DeleteTest()
 {
     var fakeRepository = Mock.Of <IPlayerRepository>();
     var playerService  = new PlayerServices(fakeRepository);
     var player         = new Player()
     {
         PlayerId = 2
     };
     await playerService.Delete(player);
 }