public void Init(TechnologyRepository technologyRepository)
 {
     TechnologySelectListItems = new SelectList(
         technologyRepository.GetList(includeRelatedEntities: false),
         "Id", "Name");
 }
예제 #2
0
        // GET: Technology
        public ActionResult Index()
        {
            var technology = _technologyRepository.GetList(includeRelatedEntities: false);

            return(View(technology));
        }