Exemplo n.º 1
0
 public async Task <IActionResult> Create()
 {
     ViewData["GuideId"] = new SelectList(await _repository.GetGuideContractActive(), "Id", "Name");
     ViewData["TheWork"] = new SelectList(TheWorName(), "ThWork", "ThWork");
     //انشاء موديل فيو
     return(View());
 }