Пример #1
0
 private async Task CreateTest()
 {
     var fakeRepository = Mock.Of <IUserRepository>();
     var playerService  = new UserServices(fakeRepository);
     var player         = new User()
     {
         UserId = 3
     };
     await playerService.AddAndSave(player);
 }