public Task <bool> HasPermissionByIdIdUser(int id, int userId) { return(_repository.HasPermissionByIdIdUser(id, userId)); }