public bool CheckPermisionToSendNotification(string pharmacyId) { Pharmacy p = _pharmacyRepository.GetBy(pharmacyId); if (p == null) { return(false); } return(p.RecieveNotificationFrom); }
public Pharmacy Get(string id) => _pharmacyRepository.GetBy(id);