[Solved] Linq query to group payment receipts for a person over a period
Based on the view you want to display, your models are incorrect and they need to be public class MemberPaymentVM { public string MemberName{ get; set; } public string TransactId { get; set; } [DisplayFormat(DataFormatString = “{0:d}”)] public DateTime PayDate { get; set; } public IEnumerable<CategoryAmountsVM> Payments { get; set; } [DisplayFormat(DataFormatString = “{0:C}”)] public … Read more