public void DeleteCounterpartyLimitByIDTest() { CounterpartyBusiness target = new CounterpartyBusiness(); // TODO: Initialize to an appropriate value SessionInfo sessioninfo = null; // TODO: Initialize to an appropriate value Guid ID = new Guid(); // TODO: Initialize to an appropriate value bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.DeleteCounterpartyLimitByID(sessioninfo, ID); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public static object DeleteCtpyLimitByID(SessionInfo sessioninfo, Guid ID) { try { CounterpartyBusiness _counterpartyBusiness = new CounterpartyBusiness(); bool result = _counterpartyBusiness.DeleteCounterpartyLimitByID(sessioninfo, ID); return(new { Result = "OK", Message = Messages.DELETED_SUCCESSFULL }); } catch (Exception ex) { return(new { Result = "ERROR", Message = ex.Message }); } }
public static object DeleteCtpyLimitByID(SessionInfo sessioninfo, Guid ID) { try { CounterpartyBusiness _counterpartyBusiness = new CounterpartyBusiness(); bool result = _counterpartyBusiness.DeleteCounterpartyLimitByID(sessioninfo, ID); return new { Result = "OK", Message = Messages.DELETED_SUCCESSFULL }; } catch (Exception ex) { return new { Result = "ERROR", Message = ex.Message }; } }