public TeacherStatusResult Find(long id) { Model.TeacherStatus entity = Dao.Find(id); TeacherStatusResult result = ResultConverter.Convert(entity); return(result); }
public TeacherStatusResult Convert(Model.TeacherStatus param) { TeacherStatusResult result = new TeacherStatusResult() { Id = param.Id, Code = param.Code, Name = param.Name, Description = param.Description }; return(result); }