예제 #1
0
 public RecetteController(INGCookingRepository iNGCookingRep, ILogger <Recette> logger, IHostingEnvironment environment)
 {
     _ngCookingRepository = iNGCookingRep;
     _recette             = new Recette();
     _logger      = logger;
     _environment = environment;
 }
예제 #2
0
 public CommunauteController(INGCookingRepository iNGCookingRep, ILogger <Communaute> logger, UserManager <Communaute> communauteManeger, SignInManager <Communaute> signInManager)
 {
     _ngCookingRepository = iNGCookingRep;
     _communaute          = new Communaute();
     _logger            = logger;
     _communauteManeger = communauteManeger;
     _signInManager     = signInManager;
 }
예제 #3
0
 public IngredientController(INGCookingRepository iNGCookingRep, ILogger <Ingredient> logger)
 {
     _ngCookingRepository = iNGCookingRep;
     _ingredient          = new Ingredient();
     _logger = logger;
 }
예제 #4
0
 public CommentController(INGCookingRepository iNGCookingRep, ILogger <Comment> logger)
 {
     _ngCookingRepository = iNGCookingRep;
     _comment             = new Comment();
     _logger = logger;
 }
예제 #5
0
 public CategoryController(INGCookingRepository iNGCookingRep, ILogger <Category> logger)
 {
     _ngCookingRepository = iNGCookingRep;
     _category            = new Category();
     _logger = logger;
 }