public Prescription GetPrescription(int prescriptionId) { var result = _prescriptionRepository.Read(prescriptionId); var pharmacyId = _userRepository.WorksAt(result.User.Id); var pharmacy = _pharmacyRepository.Read(pharmacyId); result.User.Pharmacy = pharmacy; return(result); }