示例#1
0
 public bool delete(int id)
 {
     logger.Info("start cluster: ");
     try
     {
         context.DeleteArea(id);
         logger.Info("End  Cluster: ");
         return(true);
     }
     catch (Exception ex)
     {
         logger.Error("Error in addQuesAns " + ex.Message);
         logger.Info("End  AddCluster: ");
         return(false);
     }
 }