public async Task <IActionResult> RemoveTeacher(string teacherid, string school) { var result = await _schoolClient.RemoveTeacher(teacherid); if (result.Status == Status.Error) { ViewData["removeTeacherErrorMessage"] = result.Message; } return(RedirectToAction("ShowTeachers", new { schoolid = school })); }