public AllocateController(AllocateManager allocateManager, IDistributedCache distributedCache)
 {
     _allocateManager = allocateManager ?? throw new ArgumentNullException(nameof(allocateManager));
     _cache           = distributedCache ?? throw new ArgumentNullException(nameof(distributedCache));
 }