sometime you'll face the following error:
DryIoc.ContainerException: 'Unable to select single public constructor from implementation type API.Controllers
Solution:
you may have two constructors in the same controller, so you need to remove one of them.