Example #1
0
 public MenuBL()
 {
     objMenuDA      = new MenuDA();
     result         = new Result();
     result.Code    = Notification.OperationCode.Exito.GetHashCode();
     result.Message = Notification.Mensaje.Exito;
 }
Example #2
0
 public RoleService(
     IUserService userService,
     IMenuDA menuDA,
     RoleManager <IdentityRole> roleManager,
     UserManager <IdentityUser> userManager,
     ILogger <RoleService> logger
     )
 {
     _userService = userService;
     _menuDA      = menuDA;
     _roleManager = roleManager;
     _userManager = userManager;
     _logger      = logger;
 }