자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public async Task <IActionResult> Create([Bind("Id,Text,SaysOnCorrectAnswer")] Encouragement encouragement) { if (ModelState.IsValid) { await _dataService.AddEncouragementAsync(encouragement); return(RedirectToAction(nameof(Index))); } return(View(encouragement)); }