/// <summary> /// 注入仓储 /// </summary> /// <param name="iserverlistrepository"></param> public ServerAdminService(IServerListRepository iserverlistrepository) { _iserverlistrepository = iserverlistrepository; }
public HomeService(IUserRepository iuserrepository, IUserLoginLogRepository userLoginLogRepository, IServerListRepository serverListRepository) { _userrepository = iuserrepository; _userLoginLogRepository = userLoginLogRepository; _serverListRepository = serverListRepository; }