Пример #1
0
 public string insertDetail(personEntity p)
 {
     try
     {
         logger.Info("Control Flow : insertDetail service interface Method started");
         personBAL insertOp = new personBAL();
         logger.Info("Insert operation called from Bussiness logic class");
         string value = insertOp.Insert(p);
         logger.Info("Result of the Insert opertaion is returned");
         logger.Info("Control Flow : insertDetail service interface Method stopped");
         return value;
     }
     catch (Exception ex)
     {
         logger.Error("Error occured in insert operation of personBAL class");
         logger.Info("Control Flow : insertDetail service interface Method stopped");
         throw(ex);
     }
 }