public IHttpActionResult Post([FromBody] CreateEmailViewModel model)
        {
            if (model == null)
            {
                return(BadRequest());
            }
            Email email = new Email
            {
                Address = model.Address
            };

            emailService.Create(email);

            return(Ok());
        }
 public void OnGet()
 {
     Email = new CreateEmailViewModel();
 }