refactors
This commit is contained in:
26
ModVersionChecker/repository/interfaces/IAppRepository.cs
Normal file
26
ModVersionChecker/repository/interfaces/IAppRepository.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using ModVersionChecker.enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ModVersionChecker.managers.interfaces
|
||||
{
|
||||
public interface IAppRepository
|
||||
{
|
||||
|
||||
List<App> Load();
|
||||
|
||||
void Save(List<App> apps);
|
||||
|
||||
public void Insert(App app);
|
||||
|
||||
public void Update(App app);
|
||||
|
||||
void Delete(string id);
|
||||
|
||||
void UpdateStatus(App app, AppStatus status);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user