Add in progress

This commit is contained in:
2021-12-22 02:10:01 +01:00
parent 23ca1168df
commit a24d39d657
7 changed files with 53 additions and 1 deletions

View File

@@ -51,3 +51,7 @@ func (l *localService) Schedule(link string) (*entities.Download, error) {
func (l *localService) Get(id string) (*entities.Download, error) {
return l.repository.GetById(id)
}
func (l *localService) GetAll(active bool) ([]*entities.Download, error) {
return l.repository.Get(active)
}