public async Task GetAllAsync() { if (SessionRepository != null) { try { var result = await SessionRepository.FindAllAsync(); Assert.IsNotNull(result); } catch (Exception e) { Assert.Fail(e.Message); } } else { Assert.Fail(); } }
public async Task GetAllAsync() { if (SessionRepository != null) { try { var result = await SessionRepository.FindAllAsync(); Assert.IsNotNull(result); } catch (Exception e) { Assert.Fail(e.Message); } } else { Assert.Fail(); } }