public YellowstonePathology.Business.Rules.MethodResult SubmitChanges(YellowstonePathology.YpiConnect.Contract.Flow.FlowAccessionSubmitter flowAccessionSubmitter) { Business.Rules.MethodResult methodResult = new Business.Rules.MethodResult(); try { FlowAccessionGateway gateway = new FlowAccessionGateway(); flowAccessionSubmitter.Submit(gateway); methodResult.Success = true; methodResult.Message = "Submit Changes completed successfully"; } catch (Exception e) { methodResult.Success = false; methodResult.Message = e.Message; } return(methodResult); }
public YellowstonePathology.Business.Rules.MethodResult SubmitChanges(YellowstonePathology.YpiConnect.Contract.Flow.FlowAccessionSubmitter flowAccessionSubmitter) { YellowstonePathology.Business.Rules.MethodResult methodResult = this.m_FlowSignoutChannel.SubmitChanges(flowAccessionSubmitter); return(methodResult); }