public Task <RoleLogic> GetByRoleCodeAsync(string name)
 => _roleRepository.GetAsync(
     RoleFactory.GetRoleByCode(name, default(bool?)),
     RoleFactory.GetRoleLogic);