public DiseasePrescription GetDiseasePrescriptionById(Guid id) { return(_context .DiseasePrescriptions .Where(DiseaseSpecs.GetDiseasePrescriptionById(id)) .FirstOrDefault()); }
public Disease GetByCID(string cid) { return(_context .Diseases .Where(DiseaseSpecs.GetByCID(cid)) .FirstOrDefault()); }
public Disease GetByName(string name) { return(_context .Diseases .Where(DiseaseSpecs.GetByName(name)) .FirstOrDefault()); }
public Disease GetById(Guid id) { return(_context .Diseases .Where(DiseaseSpecs.GetById(id)) .FirstOrDefault()); }