public async Task <IActionResult> SaveStudent([FromBody] StudentViewModel viewModel) { await _studentApi.SaveStudentAsync(viewModel); return(CreateSuccessWebResult(viewModel.IsNew ? "Student Record Created." : "Student Record Updated.")); }