public IEnumerable <Condominium> GetAllInactive(string user)
 {
     return(_context.Condominiums.AsNoTracking().Where(CondominiumQueries.GetAllInactive(user)).OrderBy(x => x.Name));
 }
        public void Should_Return_Inactive_Condominiums_To_UsuarioA()
        {
            var result = _items.AsQueryable().Where(CondominiumQueries.GetAllInactive("Usuario A"));

            Assert.AreEqual(2, result.Count());
        }
 public IEnumerable <Condominium> GetAllInactive(string user)
 {
     return(_items.AsQueryable().Where(CondominiumQueries.GetAllInactive(user)));
 }