public void Add()
        {
            Administrator administrator = new Administrator();

            try
            {
                 AdministratorDetails administratorDetails = new AdministratorDetails
                                {
                                    EmailAddress = "*****@*****.**",
                                    Name = "test",
                                };

                administrator.Add(administratorDetails);
            }
            catch (CreatesendException ex)
            {
                ErrorResult error = (ErrorResult)ex.Data["ErrorResult"];
                Console.WriteLine(error.Code);
                Console.WriteLine(error.Message);
            }
            catch (Exception ex)
            {
                //handle some other failure
            }
        }
        public void Delete()
        {
            Administrator administrator = new Administrator();

            try
            {
               administrator.Delete("*****@*****.**");
            }
            catch (CreatesendException ex)
            {
                ErrorResult error = (ErrorResult)ex.Data["ErrorResult"];
                Console.WriteLine(error.Code);
                Console.WriteLine(error.Message);
            }
            catch (Exception ex)
            {
                //handle some other failure
            }
        }
        public void Update()
        {
            Administrator administrator = new Administrator();

            try
            {
                AdministratorDetails administratorDetails = administrator.Details("*****@*****.**");
                administratorDetails.Name = "test new name";

                administrator.Update("*****@*****.**", administratorDetails);
            }
            catch (CreatesendException ex)
            {
                ErrorResult error = (ErrorResult)ex.Data["ErrorResult"];
                Console.WriteLine(error.Code);
                Console.WriteLine(error.Message);
            }
            catch (Exception ex)
            {
                //handle some other failure
            }
        }