public ActionResult DanismanProjeleriListele()
        {
            List <dbProje> projeler = projeManager.GetAll();

            if (projeler.Where(c => c.Danisman.DanismanBolumu.Id ==
                               ogrenciManager.Get(User.Identity.Name).Bolum.Id) == null)
            {
                return(View(new List <dbProje>()));
            }
            return(View(projeler.Where(c => c.Danisman.DanismanBolumu.Id ==
                                       ogrenciManager.Get(User.Identity.Name).Bolum.Id)));
        }
        public ActionResult ProjeListele()
        {
            List <dbProje> temp = projeManager.GetAll().Where(c => c.Danisman.DanismanMail == User.Identity.Name).ToList();

            return(View(temp));
        }