示例#1
0
 public bool Delete(int id)
 {
     try
     {
         objEmployee.DeleteEmployee(id);
         return(true);
     }
     catch (Exception e)
     {
         Console.WriteLine(e.Message);
         return(false);
     }
 }