public async Task <IActionResult> AddGrade(string gradeTitle) { ViewData["gradeTitle"] = "افزودن مقطع تحصیلی"; await _userServices.AddGradeAsync(new Grade() { GradeTitle = gradeTitle }); return(RedirectToAction("Grade")); }
public async Task <IActionResult> AddGrade(string gradeTitle) { ViewData["gradeTitle"] = "افزودن مقطع تحصیلی"; await _userServices.AddGradeAsync(new Grade() { GradeTitle = gradeTitle }); return(RedirectToAction("Grade")); }