private async Task <bool> AddScope(DTO_Claim claim, int typescope)
        {
            int claimstatustypeid = 0;

            switch (typescope)
            {
            case 1:
            {
                claimstatustypeid = 4;                                          //estimate 4
                break;
            }

            case 2:
            {
                claimstatustypeid = 6;                                            //originalscope 6
                break;
            }

            case 3:
            {
                claimstatustypeid = 10;                                            //newscope(aka) supplementsettled 10
                break;
            }
            }

            await s1.AddScope(new DTO_Scope
            {
                ClaimID     = claim.ClaimID,
                Deductible  = double.Parse(deductibleTextBox.Text),
                Exterior    = double.Parse(exteriorTextBox.Text),
                Interior    = double.Parse(interiorTextBox.Text),
                Gutter      = double.Parse(gutterTextBox.Text),
                ScopeTypeID = typescope,
                Tax         = double.Parse(taxTextBox.Text),
                OandP       = double.Parse(oandPTextBox.Text),
                Total       = double.Parse(totalTextBox.Text),
                RoofAmount  = double.Parse(Roof.Text)
            });

            if (s1.Scope.Message == null)
            {
                await s1.AddClaimStatus(new DTO_ClaimStatus
                {
                    ClaimID           = claim.ClaimID,
                    ClaimStatusTypeID = claimstatustypeid,
                    ClaimStatusDate   = DateTime.Today
                });



                if (s1.ClaimStatus.Message == null)
                {
                    MessageBox.Show(s1.ClaimStatus.ClaimStatusID.ToString());
                }
                else
                {
                    MessageBox.Show(s1.ClaimStatus.Message);
                }

                MessageBox.Show(s1.Scope.ScopeID.ToString());
            }
            else
            {
                MessageBox.Show(s1.Scope.Message);
            }


            return(true);
        }