public async Task <IActionResult> GetTeacher(int id) { var result = await _TeacherBusiness.GetTeacher(id); if (result != null) { return(Ok(result)); } return(NotFound()); }
public TeacherModel GetTeacher(bool Gende_Teacher) { return(_teacherBusiness.GetTeacher(Gende_Teacher)); }