자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public async Task <IActionResult> Create(PatientViewModel model) { if (ModelState.IsValid) { model.PatientAdmin = CurrentUserId.ToString(); var createUser = await _patientService.CreateUser(model); if (createUser) { return(RedirectToAction("Index")); } } return(View()); }