static void Main() { var server = new WebServer.WebServer(8888, new ControllerRouter(), new ResourceRouter()); var db = new FDMCContext(); MvcEngine.Run(server, db); }
protected BaseService(FDMCContext context) { this.context = context; }
public HomeController(ILogger <HomeController> logger, FDMCContext context) { _logger = logger; this.context = context; }
public CatsService(FDMCContext context) { _context = context; }
public KittenService(FDMCContext context) : base(context) { }
public CatService(FDMCContext context, IMapper mapper) { this.context = context; this.mapper = mapper; }
public CatsController(FDMCContext context) { _context = context; }