Add MonitorPanel.DataAccess

This commit is contained in:
2026-07-08 03:13:21 +03:00
parent 7c4d557dc4
commit 08aa1bbf90
8 changed files with 106 additions and 0 deletions
@@ -0,0 +1,11 @@
using MonitorPanel.Core.Models;
namespace MonitorPanel.Core.Abstractions;
public interface IServersRepository
{
Task<IEnumerable<Server>> GetAllServersAsync();
Task<Server?> GetServerByIdAsync(Guid id);
Task AddServerAsync(Server server);
Task UpdateServerAsync(Guid id, Server server);
Task DeleteServerAsync(Guid id);
}