Changeset a55ef91 for FarmatikoData/FarmatikoRepo/PandemicRepository.cs
- Timestamp:
- 07/31/20 10:15:02 (5 years ago)
- Branches:
- master
- Children:
- d8fafb8
- Parents:
- 4e72684
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/FarmatikoRepo/PandemicRepository.cs
r4e72684 ra55ef91 1 1 using FarmatikoData.FarmatikoRepoInterfaces; 2 2 using FarmatikoData.Models; 3 using Microsoft.EntityFrameworkCore;4 using System;5 using System.Collections.Generic;6 3 using System.Linq; 7 using System.Text;8 4 9 5 namespace FarmatikoData.FarmatikoRepo … … 24 20 } 25 21 26 public I Enumerable<Pandemic> GetAll()22 public IQueryable<Pandemic> GetAll() 27 23 { 28 return _context.Pandemics ;24 return _context.Pandemics.OrderBy(x => x.Name); 29 25 } 30 26
Note:
See TracChangeset
for help on using the changeset viewer.