public AddSolutionCommandHandler(ISolutionRepository solutionRepository, IUnitOfWork unitOfWork, IMediator mediator, HttpAuthorizeHandler httpAuthorizeHandler) { _solutionRepository = solutionRepository; _unitOfWork = unitOfWork; _mediator = mediator; _httpAuthorizeHandler = httpAuthorizeHandler; }
public async Task <BaseDto> Logout([FromServices] HttpAuthorizeHandler httpAuthorizeHandler) { await httpAuthorizeHandler.SignOutAsync(); return(new BaseDto() { IsSuccess = true, Msg = "操作成功" }); }
public LoginCommandHandler(IManagerUserRepository managerUserRepository, HttpAuthorizeHandler httpAuthorizeHandler) { _managerUserRepository = managerUserRepository; _httpAuthorizeHandler = httpAuthorizeHandler; }
public AddManagerUserHandler(IManagerUserRepository managerUserRepository, IUnitOfWork unitOfWork, HttpAuthorizeHandler httpAuthorizeHandler) { _managerUserRepository = managerUserRepository; _unitOfWork = unitOfWork; _httpAuthorizeHandler = httpAuthorizeHandler; }
public AllSolutionQueryHandler(ISolutionRepository solutionRepository, HttpAuthorizeHandler httpAuthorizeHandler) { _solutionRepository = solutionRepository; _httpAuthorizeHandler = httpAuthorizeHandler; }
public UserInfoQueryHandler(HttpAuthorizeHandler httpAuthorizeHandler, IManagerUserRepository managerUserRepository) { _httpAuthorizeHandler = httpAuthorizeHandler; _managerUserRepository = managerUserRepository; }