Ignore:
Timestamp:
02/04/21 21:46:29 (20 months ago)
Author:
Dimitar Slezenkovski <dslezenkovski@…>
Branches:
master
Children:
ac51326
Parents:
de9d697
Message:

Update searches, fix bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Controllers/FarmatikoController.cs

    rde9d697 rafefe75  
    11using System.Collections.Generic;
    22using System.Threading.Tasks;
     3using FarmatikoData.DTOs;
    34using FarmatikoData.Models;
    45using FarmatikoServices.FarmatikoServiceInterfaces;
     
    7778        [HttpGet]
    7879        [Route("api/medicines")]
    79         public async Task<IEnumerable<Medicine>> GetMedicines()
     80        public async Task<IEnumerable<MedicineDTO>> GetMedicines()
    8081        {
    8182            return await _service.GetMedicines();
     
    104105        [HttpGet]
    105106        [Route("api/pharmacy")]
    106         public async Task<IEnumerable<Pharmacy>> GetPharmacies()
     107        public async Task<IEnumerable<PharmacyDTO>> GetPharmacies()
    107108        {
    108109            return await _service.GetPharmacies();
Note: See TracChangeset for help on using the changeset viewer.