Exemplo n.º 1
0
 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;
 }