Beispiel #1
0
 public HomeController(IResturantData resturantData, IGreeter greeter)
 {
     _resturandData = resturantData;
     _greeter       = greeter;
 }
 public EditModel(IResturantData ResturantsService, IHtmlHelper helper)
 {
     this.Helper            = helper;
     this.ResturantsService = ResturantsService;
 }
Beispiel #3
0
 public HomeController(IResturantData resturantData)
 {
     ResturantData = resturantData;
 }
Beispiel #4
0
 public EditModel(IResturantData resturantData, IHtmlHelper htmlHelper)
 {
     this.resturantData = resturantData;
     this.HtmlHelper    = htmlHelper;
 }
 public AddResturanrModel(IResturantData resturantService, IConfiguration configuration, IHtmlHelper helper)
 {
     ResturantService = resturantService;
     Helper           = helper;
 }
 public HomeController()
 {
     db = new InMemoryRestuarantData();
 }
Beispiel #7
0
 public EditModel(IResturantData resturantData)
 {
     _resturantData = resturantData;
 }
Beispiel #8
0
 public HomeController(IResturantData db)
 {
     this.db = db;
 }
Beispiel #9
0
 public ResturantCountViewComponent(IResturantData resturantData)
 {
     this.resturantData = resturantData;
 }
 public DeleteModel(IResturantData resturantService)
 {
     this.resturantService = resturantService;
 }
 public RestaurantsController(IResturantData db)
 {
     this.db = db;
 }
Beispiel #12
0
 public ListModel(IConfiguration config, IResturantData resturantData, ILogger <ListModel> logger)
 {
     this._config       = config;
     this.resturantData = resturantData;
     this.logger        = logger;
 }
Beispiel #13
0
 public RestaurantsController(IResturantData resturantData)
 {
     this.resturantData = resturantData;
 }
Beispiel #14
0
 public ListModel(IConfiguration config, IResturantData ResturantData, ILogger <ListModel> Logger)
 {
     this.Config = config;
     IResturant  = ResturantData;
     logger      = Logger;
 }
Beispiel #15
0
 public ListModel(IConfiguration config, IResturantData resturantData)
 {
     this.config        = config;
     this.resturantData = resturantData;
 }
Beispiel #16
0
 public DeleteModel(IResturantData resturantData)
 {
     ResturantData = resturantData;
 }
Beispiel #17
0
 public GreeterViewComponent(IResturantData greeter)
 {
     _greeter = greeter;
 }
Beispiel #18
0
 public DetailModel(IConfiguration configuration, IResturantData ResturantList)
 {
     this.ResturantList = ResturantList;
     this.config        = config;
 }
Beispiel #19
0
 public DetailModel(IResturantData resturantData)
 {
     this.resturantData = resturantData;
 }
Beispiel #20
0
 public ResturantCountViewComponent(IResturantData resturantService)
 {
     this.resturantService = resturantService;
 }