// PUT api/ContactUs/5
        public HttpResponseMessage PutContactUs(int id, ContactForm contactus)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }

            if (id != contactus.ContactFormId)
            {
                return Request.CreateResponse(HttpStatusCode.BadRequest);
            }

            db.Entry(contactus).State = EntityState.Modified;

            try
            {
                db.SaveChanges();
            }
            catch (DbUpdateConcurrencyException ex)
            {
                return Request.CreateErrorResponse(HttpStatusCode.NotFound, ex);
            }

            return Request.CreateResponse(HttpStatusCode.OK);
        }
        // POST api/ContactUs
        public HttpResponseMessage PostContactUs(ContactForm contactForm)
        {
            if (ModelState.IsValid)
            {
                db.ContactForm.Add(contactForm);
                db.SaveChanges();

                HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.Created, contactForm);
                response.Headers.Location = new Uri(Url.Link("DefaultApi", new { id = contactForm.ContactFormId }));
                return response;
            }
            else
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, ModelState);
            }
        }