public async Task <bool> DeleteRole( int roleId, CancellationToken cancellationToken = default(CancellationToken)) { cancellationToken.ThrowIfCancellationRequested(); return(await dbRoles.Delete(roleId, cancellationToken)); }
public async Task<bool> DeleteRole(int roleId) { return await dbRoles.Delete(roleId); }