public ActionResult DanismanProjeEkle()
 {
     return(View(new ProjeDanisman()
     {
         dbProje = new dbProje(),
         dbDanismen = danismanManager.GetAll(),
     }));
 }
        public ActionResult TezFikirEkle()
        {
            /* List<SelectListItem> selectListItems = new List<SelectListItem>();
             * foreach (var item in danismanManager.GetAll())
             * {
             *   selectListItems.Add(new SelectListItem()
             *   {
             *       Text = item.DanismanAd,
             *       Value = item.Id.ToString(),
             *       Selected = true
             *   });
             * }
             */
            List <dbDanisman> temp = danismanManager.GetAll().Where(c => c.DanismanBolumu.Fakulte.Id == ogrenciManager.Get(User.Identity.Name).Bolum.Fakulte.Id).ToList();
            var d = temp;
            TezFikirDanisman tezFikirDanisman = new TezFikirDanisman
            {
                tezFikir          = new Entities.dbTezFikir(),
                dbDanismen        = temp,
                SecilenDanismanId = ""
            };

            return(View(tezFikirDanisman));
        }
 public ActionResult DanismanListele()
 {
     return(View(danismanManager.GetAll()));
 }