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

            SuccessResponse response = new SuccessResponse();

            CustomerNotesService.UpdateCustomerNote(model);
            return(Request.CreateResponse(response));
        }
        public HttpResponseMessage AddCustomerNote(AddCustomerNoteRequest model)
        {
            if (!ModelState.IsValid)
            {
                return(Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState));
            }

            ItemResponse <int> response = new ItemResponse <int>();

            response.Item = CustomerNotesService.UpdateCustomerNote(model);
            return(Request.CreateResponse(response));
        }