public CondicionsController() { var container = new UnityContainer(); container.RegisterType <ICondicionRepository, CondicionRepositorio>(); container.RegisterType <ICondicionService, CondicionService>(); container.RegisterType <ICondicionUtil, CondicionUtil>(); iCondicionservice = container.Resolve <ICondicionService>(); }
public CondicionController(ICondicionService _iCondicionService) { this.iCondicionService = _iCondicionService; }