Ignore:
Timestamp:
07/29/20 20:02:58 (4 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
a55ef91
Parents:
de18858
Message:

Add services

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/FarmatikoRepo/PharmacyRepository.cs

    rde18858 r4e72684  
    2121            _context.Pharmacies.Add(pharmacy);
    2222            _context.SaveChangesAsync();
     23        }
     24        //Just for users
     25        public IEnumerable<Pharmacy> GetAll()
     26        {
     27            return _context.Pharmacies.OrderBy(x => x.Name);
    2328        }
    2429
Note: See TracChangeset for help on using the changeset viewer.