public IHttpActionResult Post(RegisterViewModel register)
 {
     if (register != null)
     {
         registerRepository.Create(register);
         return(Ok("Account has been created"));
     }
     else
     {
         return(BadRequest("Account cannot be created"));
     }
 }