public void OnPostSearchProjectForm()
 {
     Proje = JsonProjectService.GetProjectById(Proje.id);
     if (Proje != null)
     {
         MemberList = listtostring(Proje.members);
     }
 }
Example #2
0
 public IEnumerable <ProjectModel> Get(int id)
 {
     if (id != 0)
     {
         List <ProjectModel> list = new List <ProjectModel>();
         list.Add(JsonProjectService.GetProjectById(id));
         IEnumerable <ProjectModel> en = list;
         return(en);
     }
     else
     {
         return(JsonProjectService.GetProjects());
     }
 }