示例#1
0
 public async Task <IActionResult> Create()
 {
     ViewData["ContinentId"] = new SelectList(await _repository.GetContinents(), "Id", "Name");
     return(View());
 }