public async Task <IActionResult> GetAllPharmacy()
        {
            var pharmacies = await _pharmacyRepository.GetAllPharmacies();

            if (pharmacies == null)
            {
                return(NotFound());
            }

            var medicineResult = new List <PharmacyListDto>();


            foreach (var medicine in pharmacies)
            {
                medicineResult.Add(new PharmacyListDto()
                {
                    Id           = medicine.Id,
                    PharmacyName = medicine.PharmacyName,
                    Photo        = medicine.Photo
                });
            }


            return(Ok(medicineResult));
        }