Esempio n. 1
0
        public async Task REPOSITORY_FILTERED_EnableTrue()
        {
            var model = _model;

            model.Enable = true;
            await _newsRepository.AddAsync(model);

            await _newsRepository.SaveAsync();

            Output.WriteLine(model.ToString());
            var item = await _newsRepository.GetAsync(x => x.Id == model.Id);

            Assert.NotNull(item);
        }