/// <summary> /// Gets the sum of minuts with the selected numbers. /// </summary> /// <param name="client"> The client that requested </param> /// <param name="lineNumber"> The line number </param> /// <returns> The minuts </returns> public double GetTotalMinutesThreeTopNumber(Client client, string lineNumber) { var line = _lineRepository.GetClientLines(client.Id).FirstOrDefault(x => x.Number == lineNumber); return(_lineRepository.GetTotalMinutesThreeTopNumber(line.Id, DateTime.Now)); }