Пример #1
0
 public string delete(int id)
 {
     try
     {
         logger.Info("Control Flow : delete service interface Method Started");
         personBAL deleteOp = new personBAL();
         logger.Info("Delete operation called from Bussiness logic class");
         string value = deleteOp.Delete(id);
         logger.Info("Result of the Delete opertaion is returned");
         logger.Info("Control Flow : deleteDetail service interface Method Stopped");
         return value;
     }
     catch (Exception ex)
     {
         logger.Error("Error occured in delete operation of personBAL class");
         logger.Info("Control Flow : deleteDetail service interface Method Stopped");
         throw (ex);
     }
 }