public async Task <IActionResult> GetAll() { return(View(_mapper.Map <IEnumerable <GradeDto> >(await _gradeService.GetAllAsync()))); }
public async Task <IActionResult> All() { return(this.View(await gradeService.GetAllAsync(this.userManager.GetUserId(this.User)))); }