public void DeleteRoles_Alway_valid() { _roleRepository.Delete(Arg.Any <Guid>()); // Execute _sut.DeleteRole(Guid.NewGuid()); // Assert _roleRepository.Received(1).Delete(Arg.Any <Guid>()); }
public async Task Delete([FromRoute] string id) { await _securityService.DeleteRole(id); }