Changeset 4e72684 for FarmatikoData/FarmatikoRepo/PharmacyRepository.cs
- Timestamp:
- 07/29/20 20:02:58 (4 years ago)
- Branches:
- master
- Children:
- a55ef91
- Parents:
- de18858
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/FarmatikoRepo/PharmacyRepository.cs
rde18858 r4e72684 21 21 _context.Pharmacies.Add(pharmacy); 22 22 _context.SaveChangesAsync(); 23 } 24 //Just for users 25 public IEnumerable<Pharmacy> GetAll() 26 { 27 return _context.Pharmacies.OrderBy(x => x.Name); 23 28 } 24 29
Note:
See TracChangeset
for help on using the changeset viewer.