public async Task <ActionResult <bool> > ChangePassword(RegisterModel model) { var success = await _authorProvider.ChangePassword(model); return(success ? Ok() : BadRequest()); }