Auto resolving with IoC container for controllers