public List<DataObjects.Project> GetAllProjects() { Database.Project prjDB = new Database.Project(); List<DataObjects.Project> prjList = prjDB.GetAllProjects(); foreach (DataObjects.Project prj in prjList) { prj.ProjectStatus = Database.ProjectStatus.GetAllStatusOfProject(prj.ProjectID); } return prjList; }
private void OpenProject(Project project) { Project = project; tabMain.SelectedValue = FeatureTab; }
public DataObjects.Project LoadProject(int projectID) { Database.Project prj = new Database.Project(); return prj.LoadProject(projectID); }
public static DataObjects.Project RetrieveProject(int projectID) { Database.Project prj = new Database.Project(); return prj.LoadProject(projectID); }