public double GetVotesSumById(int id) { var receipt = receiptManager.GetByIdWithVotes(id); return(receipt.Votes.Average(v => v.Rating)); }
public double GetVotesSumById(int id) { var receipt = receiptManager.GetByIdWithVotes(id); return(receipt.Votes.Average(v => v.Rating)); }