public WidgetsController(WidgetsContext context) { _context = context; }
public WidgetsService(WidgetsContext widgetsContext) { _widgetsContext = widgetsContext; }
public WidgetsController(WidgetsContext context, ILogger <WidgetsController> logger) { _context = context; _logger = logger; }
public UnitOfWork(WidgetsContext widgetsContext) { _widgetsContext = widgetsContext; }