コード例 #1
0
 /// <summary>
 /// Initializes new instance of login form
 /// </summary>
 /// <param name="_menuForm">Menu form</param>
 public LoginForm(IMenuForm _menuForm, ILoginVmService _loginVmService)
 {
     InitializeComponent();
     this.menuForm       = _menuForm;
     this.loginVmService = _loginVmService;
     enteredData         = new LoginEmployeeData();
 }
コード例 #2
0
 public MenusController(IHttpContextAccessor _httpContextAccessor,
                        AdminContext context,
                        IMenuForm menuForm,
                        IRbacService rbacService)
 {
     httpContextAccessor = _httpContextAccessor;
     _context            = context;
     _form = menuForm;
     _rbac = rbacService;
 }