public HttpResponseMessage Post(WebContactUs contactUs)
        {
            if (!ModelState.IsValid || contactUs == null)
            {
                return Request.CreateResponse(HttpStatusCode.BadRequest, ModelState);
            }

            try
            {
                repo.sendContactUs(this.currentUserId, GetIPAddress.Get(this.Request), contactUs);
                return Request.CreateResponse(HttpStatusCode.Created);
            }
            catch (Exception e)
            {
                return Request.CreateResponse(HttpStatusCode.BadRequest, e);
            }
        }
        public void sendContactUs(int currentUserId, string ipAddress, WebContactUs webContactUs)
        {
            ContactUs contactUs = new ContactUs();
            contactUs.date = DateTime.UtcNow;
            contactUs.userId = currentUserId;
            contactUs.ipAddress = ipAddress;

            contactUs.firstName = webContactUs.firstName;
            contactUs.lastName = webContactUs.lastName;
            contactUs.emailAddress = webContactUs.emailAddress;
            contactUs.phone = webContactUs.phone;
            contactUs.message = webContactUs.message;

            db.ContactUsSubmissions.Add(contactUs);
            db.SaveChanges();

            Email.sendContactUs(receiver, contactUs);
        }