public ModuleBusinessLogic(
     IMenuBusinessLogic menuBusinessLogic,
     ModuleValidator moduleValidator,
     DbContextOptions <ControlPanelContext> dbContextOptions)
 {
     _moduleValidator   = moduleValidator ?? throw new ArgumentNullException(nameof(moduleValidator));
     _dbContextOptions  = dbContextOptions ?? throw new ArgumentNullException(nameof(dbContextOptions));
     _menuBusinessLogic = menuBusinessLogic ?? throw new ArgumentNullException(nameof(menuBusinessLogic));
 }
Exemple #2
0
 public MenuController(IMenuBusinessLogic menuBusinessLogic)
 {
     _menuBusinessLogic = menuBusinessLogic;
 }