Реализовал IServersRepository

This commit is contained in:
2026-07-08 19:50:51 +03:00
parent 9db0542d6b
commit 20ea6645f9
2 changed files with 43 additions and 14 deletions
@@ -5,7 +5,7 @@ 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);
Task<Guid> AddServerAsync(Server server);
Task<Guid> UpdateServerAsync(Guid id, string name, bool isHttps, string address, string? path, int port);
Task<Guid> DeleteServerAsync(Guid id);
}