public static List<Requirement> GetRenew() { DB context = new DB(); return context.Requirements.Include(x => x.Status).Where(x => x.StatusId != 1).ToList(); }
public static List<Requirement> ListAll() { DB context = new DB(); return context.Requirements.Include(x => x.Status).ToList(); }