//private static readonly CProjects ProjectList = new CProjects(); public static LProjects ChangeProjects(DateTime?fromDate) { if (fromDate != null) { if (fromDate < _removeTime) { return new LProjects { IsReload = true } } ; } return(ClProjects.Projects(fromDate, ClProjects.StateTime.Changed, -1)); }
public static LProjects WorkProjects(DateTime?fromDate, int previousId) { return(ClProjects.Projects(fromDate, ClProjects.StateTime.Worked, previousId)); }