public void RemovingCustomerFromDbIsSuccessful()
        {
            Customer customer = TestHelpers.GetSampleCustomer();
            DataProxy dataProxy = new DataProxy();
            DateTime? result = dataProxy.AddCustomer(customer).Result;
            DateTime? removeResult = dataProxy.RemoveCustomer(customer).Result;

            Assert.IsNotNull(removeResult);
        }
        public void RemovingCustomerThatIsNotInDbFails()
        {
            Customer customer = TestHelpers.GetSampleCustomer();
            DataProxy dataProxy = new DataProxy();
            DateTime? result = dataProxy.AddCustomer(customer).Result;

            // remove same customer twice so the second time it will fail.
            DateTime? removeResult = dataProxy.RemoveCustomer(customer).Result;
            Assert.IsNotNull(removeResult);
            DateTime? removeResult2 = dataProxy.RemoveCustomer(customer).Result;

            Assert.IsNull(removeResult2);
        }