Changeset afefe75 for Farmatiko/Controllers
- Timestamp:
- 02/04/21 21:46:29 (4 years ago)
- Branches:
- master
- Children:
- ac51326
- Parents:
- de9d697
- Location:
- Farmatiko/Controllers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/Controllers/FarmatikoController.cs
rde9d697 rafefe75 1 1 using System.Collections.Generic; 2 2 using System.Threading.Tasks; 3 using FarmatikoData.DTOs; 3 4 using FarmatikoData.Models; 4 5 using FarmatikoServices.FarmatikoServiceInterfaces; … … 77 78 [HttpGet] 78 79 [Route("api/medicines")] 79 public async Task<IEnumerable<Medicine >> GetMedicines()80 public async Task<IEnumerable<MedicineDTO>> GetMedicines() 80 81 { 81 82 return await _service.GetMedicines(); … … 104 105 [HttpGet] 105 106 [Route("api/pharmacy")] 106 public async Task<IEnumerable<Pharmacy >> GetPharmacies()107 public async Task<IEnumerable<PharmacyDTO>> GetPharmacies() 107 108 { 108 109 return await _service.GetPharmacies(); -
Farmatiko/Controllers/PharmacyHeadController.cs
rde9d697 rafefe75 30 30 //POST 31 31 32 [HttpP ut]32 [HttpPost] 33 33 [Route("api/pharmacyhead/update")] 34 34 public async Task<IActionResult> UpdatePharmacyHead([FromBody] PharmacyHeadDto pharmacyHead)
Note:
See TracChangeset
for help on using the changeset viewer.