public Task <IReadOnlyList <Installation> > GetInstallationByDateAsync(DateTime date) { InstallationByDate spec = new InstallationByDate(date); return(_installationRepository.ListAsync(spec)); }
public IReadOnlyList <Installation> GetInstallationByDate(DateTime date) { InstallationByDate spec = new InstallationByDate(date); return(_installationRepository.List(spec)); }