private async Task <bool> CheckIfPharmacyExists(long id) { try { return(await _pharmacyRepository.ExistAsync(id)); } catch (Exception ex) { throw new Exception(ex.Message); } }