public FirstViewComponent(IMyInjectedService service) { myService = service; }
public MainController(IFirstClass firstClass, IMyInjectedService service) { _firstClass = firstClass; _firstClass.Value = "big"; _service = service; }
public HomeController(IMyInjectedService myService, ApplicationDbContext context) { this.myService = myService; this._myContext = context; }
public HomeController(IMyInjectedService myService, ProfileContext context) { this.myService = myService; this._myContext = context; }