Beispiel #1
0
 public Boolean insertWish(Wish obj)
 {
     try
     {
         IWishSvc svc = (IWishSvc)this.getService(typeof(IWishSvc).Name);
         if (obj.isDataEntered())
         {
             return svc.insertWish(obj);
         }
         else
         {
             throw new BusinessValidationException(CustomErrors.REQUIRED_FIELD);
         }
     }
     catch (ServiceLoadException ex)
     {
         throw ex;
     }
 }