public List <Training> GetbyMentor(int id)
 {
     return(_repository.GetTrainingByMid(id));
 }