public void VerifyResult(order order, string SaleReferenceId) { try { repository.AddLogToOrder(order, "VerifyResult salereferenceid=" + SaleReferenceId); this.Mellat.VerifyResult(order.id, SaleReferenceId); } catch (Exception ex) { repository.AddLogToOrder(order, "VerifyResult result=" + ex.Message); throw new Exception(ex.Message); } }