Example #1
0
 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);
 }
Example #2
0
 public static IList <SchoolDTO> SelectSchoolList(SchoolDTO vo)
 {
     return(mapper.QueryForList <SchoolDTO>("SelectSchoolList", vo));
 }