예제 #1
0
 public TL_SYS_ROLE_DelResult TL_SYS_ROLE_Del(string roleID)
 {
  try
     {
         using (var db = new OOAD_EDUManagementDataContext())
         {
             return db.TL_SYS_ROLE_Del(roleID).FirstOrDefault();
         }
     }
     catch (Exception e)
     {
         return new TL_SYS_ROLE_DelResult() { RESULT = "-1", ERRORDESC = e.Message };
     }
 }