public async Task <ActionResult <bool> > Register(RegisterModel model)
        {
            var success = await _authorProvider.Register(model);

            return(success ? Ok() : BadRequest());
        }