gov.va.medora.mdws.LabsLib.getBloodBankReports C# (CSharp) Method

getBloodBankReports() public method

public getBloodBankReports ( ) : TaggedTextArray
return gov.va.medora.mdws.dto.TaggedTextArray
        public TaggedTextArray getBloodBankReports()
        {
            TaggedTextArray result = new TaggedTextArray();

            if (!mySession.ConnectionSet.IsAuthorized)
            {
                result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
            }
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                LabsApi api = new LabsApi();
                IndexedHashtable t = api.getBloodBankReport(mySession.ConnectionSet);
                result = new TaggedTextArray(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
            }
            return result;
        }