public static void Update(ConfirmationRequest confirmationRequest) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { Meth.GetVoid(MethodBase.GetCurrentMethod(), confirmationRequest); return; } Crud.ConfirmationRequestCrud.Update(confirmationRequest); }
public static long Insert(ConfirmationRequest confirmationRequest) { if (RemotingClient.RemotingRole == RemotingRole.ClientWeb) { confirmationRequest.ConfirmationRequestNum = Meth.GetLong(MethodBase.GetCurrentMethod(), confirmationRequest); return(confirmationRequest.ConfirmationRequestNum); } return(Crud.ConfirmationRequestCrud.Insert(confirmationRequest)); }