public HttpResponseMessage UpdateCustomField(UpdateCustomerDetailsCustomFieldRequest model)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }

            SuccessResponse response = new SuccessResponse();
            CustomerDetailsCustomFieldsService.UpdateCustomerDetailsCustomField(model);
            return Request.CreateResponse(response);
        }
        public HttpResponseMessage AddCustomField(AddCustomerDetailsCustomFieldRequest model)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }

            ItemResponse<int> response = new ItemResponse<int>();
            response.Item = CustomerDetailsCustomFieldsService.UpdateCustomerDetailsCustomField(model);
            //ItemsResponse<int> response = new ItemsResponse<int>();
            //foreach (AddCustomerDetailsCustomFieldRequest model in models)
            //{
            //    response.Items.Add(CustomerDetailsCustomFieldsService.UpdateCustomerDetailsCustomField(model));
            //}
            return Request.CreateResponse(response);
        }