Display viewmodal data from controler t view in asp.net core : Salam to All.
i want to Display query result to Razor View.
i got desired  output by controller but need help to show on view.

Class **Fuel**
   
     public class Fuel
            {
                public int FuelId { get; set; }
                public int FMonth{ get; set; }
                public int Year { get; set; }
        }
Class **Location**

     public class Location
        {
            public int LocationId { get; set; }
            public string Name { get; set; }
            public string Address { get; set; }
    }

Now i join both table using **ViewModel** **FuelLocation**

     public class FuelLocation
     {
        public Fuel Fuels { get; set; }
        public Location Locations { get; set; }       
     }
here is **ActionResult** Controller.

     public  ActionResult EmpDetails()
            {
                var res = (from loc in _context.Locations
                           join Fl in _context.Fuels
                           on loc.Name equals Fl.Locationn
                           select new FuelLocation
                           {
                               Fuels = Fl,
                               Locations = loc
                           }).GroupBy(c => c.Fuels.Locationn)
                  .Select(g => new
                  {
                      Location = g.Key,
                      Jan = g.Where(c => c.Fuels.FMonth == 1).Sum(c => c.Fuels.Sale),
                      Feb = g.Where(c => c.Fuels.FMonth == 2).Sum(c => c.Fuels.Sale),
                      March = g.Where(c => c.Fuels.FMonth == 3).Sum(c => c.Fuels.Sale)
                  }).ToList();
    }
the result of this query is
[Output][1]

  [1]: https://i.stack.imgur.com/tkJcL.png
and i want to show like this

    Name    | Jan       | Feb       | Mar   | Total
    1       | 100       | 350       |  250  | 700
    2       | 200       | 220       | 2150  | 2170
**My Razor View**
   

     @model IList<COSAuthNew.Services.Generic.FuelLocation>
            <h2>Index</h2>
            <table class="table">
                    <tr>
                        <th>LocationName</th>
                        <th>Jan</th>
                        <th>Feb</th>
                        <th>March</th>
                         <th>Total</th>
                    </tr>
                    @foreach (var item in Model)
                    {
                        //Plz enter your solution 
                    }

but i did not get a proper result which i want.
...
tahnks