/// <summary>
        /// This method will insert a new record in to the dynamo db table
        /// </summary>
        /// <param name="newCustomer"></param>
        private void InsertNewRecord(ComcastCustomerModel newCustomer)
        {
            Table    tableObject = GetTableObject();
            Document doc         = new Document();

            doc["CustomerId"] = newCustomer.CustomerId;
            doc["Name"]       = newCustomer.Name;
            doc["Dob"]        = newCustomer.Dob;
            doc["Address"]    = newCustomer.Address;
            doc["City"]       = newCustomer.City;
            doc["State"]      = newCustomer.State;
            tableObject.PutItemAsync(doc);
        }
 public HttpResponseMessage Post([FromBody] ComcastCustomerModel customerInfo)
 {
     this.InsertNewRecord(customerInfo);
     return(new HttpResponseMessage(HttpStatusCode.OK));
 }