public async Task <string> GetToken(string userName, DateTime startDateTime, DateTime endDateTime) { var requestLogInfo = await _applicationContext.GetContextModel(); //machine??? return(await _tokenClient.InsertToTokenAsync(userName, startDateTime, endDateTime, requestLogInfo.IpAddress, "", _settings.Value.ServerAddress)); }
public async Task <string> InsertToTokenAsync(string userName, DateTime startDateTime, DateTime endDateTime, string ipAddress, string machine, string macAddress) { return(await _tokenClient.InsertToTokenAsync(userName, startDateTime, endDateTime, ipAddress, machine, macAddress)); }