public Task <List <Permission> > GetByUserIdAsync(int userId)
 {
     return(_repository.GetByUserIdAsync(userId));
 }