Exemplo n.º 1
0
 // GET: Furnitures/Create
 public IActionResult Create()
 {
     ViewData["CompanyId"] = new SelectList(_companyDevRepository.GetAll(), "CompanyId", "ComName");
     ViewData["SubtypeId"] = new SelectList(_subtypeRepository.GetAll(), "SubtypeId", "SubtypeName");
     return(View());
 }
Exemplo n.º 2
0
 // GET: CompanyDevelopers
 public IActionResult Index()
 {
     return(View(_repository.GetAll()));
 }