示例#1
0
 public PlanController(UserManager <User> userManager, IPlanService planService, IDayNameService dayNameService, IRecipeService recipeService)
 {
     _userManager    = userManager;
     _planService    = planService;
     _dayNameService = dayNameService;
     _recipeService  = recipeService;
 }
示例#2
0
 public DashboardController(IRecipeService recipeService, IPlanService planService, IDayNameService dayNameService, UserManager <User> userManager)
 {
     _recipeService  = recipeService;
     _planService    = planService;
     _dayNameService = dayNameService;
     UserManager     = userManager;
 }
示例#3
0
 public PlanController(IDayNameService _dayNameService,
                       IPlanService _planService,
                       IRecipeService _recipeService,
                       IRecipePlanService _recipePlanService,
                       UserManager <IdentityUser> _userManager)
 {
     dayNameService    = _dayNameService;
     planService       = _planService;
     recipeService     = _recipeService;
     recipePlanService = _recipePlanService;
     userManager       = _userManager;
 }