public void Delete([FromRoute] int poolId)
 {
     try
     {
         _poolService.RemovePool(poolId);
     }
     catch
     {
     }
 }
Ejemplo n.º 2
0
        public void RemovePool_Successfully()
        {
            _poolService.RemovePool <PoolableEntity>();

            Assert.False(_poolService.HasPool <PoolableEntity>());
        }
Ejemplo n.º 3
0
        public void RemovePool_NotAdded_DoesNothing()
        {
            _poolService = new PoolService();

            Assert.DoesNotThrow(() => _poolService.RemovePool <PoolableEntity>());
        }