public void SignOut(AccountSignOutModel model) { if (model == null || string.IsNullOrEmpty(model.Username)) { throw new ArgumentException(nameof(model)); } throw new NotImplementedException(); }
public IActionResult SignOut([FromBody] AccountSignOutModel accountSignOutModel) { if (!ModelState.IsValid) { return(BadRequest(nameof(accountSignOutModel))); } _authenticationService.SignOut(accountSignOutModel); return(Ok()); }