Rough version of Saving Series, Volumes, and MangaFiles to the DB. Relies on Cascaded delete rather than manually handling updating of file changes.
This commit is contained in:
parent
104c63b2b9
commit
380c3e7b3c
16 changed files with 949 additions and 15 deletions
14
API/Interfaces/ISeriesRepository.cs
Normal file
14
API/Interfaces/ISeriesRepository.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using System.Threading.Tasks;
|
||||
using API.Entities;
|
||||
|
||||
namespace API.Interfaces
|
||||
{
|
||||
public interface ISeriesRepository
|
||||
{
|
||||
void Update(Series series);
|
||||
Task<bool> SaveAllAsync();
|
||||
Task<Series> GetSeriesByNameAsync(string name);
|
||||
Series GetSeriesByName(string name);
|
||||
bool SaveAll();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue