public static SchoolDTO DeleteSchool(SchoolDTO _dto) { try { mapper.Delete("DeleteSchool", _dto); resultDTO.isSuccess = true; } catch (Exception exception) { resultDTO.Message = exception.Message; resultDTO.isSuccess = false; } return(resultDTO); }
public static IList <SchoolDTO> SelectSchoolList(SchoolDTO vo) { return(mapper.QueryForList <SchoolDTO>("SelectSchoolList", vo)); }