public IHttpActionResult Register([FromBody] AdminModel adminModel) { //if (Request.Headers.Authorization.Scheme == "X-Auth-Token" && // Request.Headers.Authorization.Parameter == "asdasdas") _userFacade.AddNewGlobalUser(Mapper.Map <AdminDto>(adminModel)); return(Ok()); //return Unauthorized(); }