public IActionResult Delete(int id) { _service.Delete(new DeleteRessourceServerDto() { Id = id, UserName = User.Identity.Name }); return(Ok()); }
public void Delete_Should_Throw_DaOAuthServiceException_When_Id_Dont_Exists() { _service.Delete(new DeleteRessourceServerDto() { Id = 9521, UserName = _adminUser.UserName }); }