Files
Microsoft.SelfService.Porta…/Interfaces/IEnvironmentInterface.cs
2026-04-15 15:02:32 +02:00

23 lines
753 B
C#

using Microsoft.SelfService.Portal.Core.API.Models;
namespace Microsoft.SelfService.Portal.Core.API.Interfaces
{
public interface IEnvironmentInterface
{
ICollection<EnvironmentModel> GetEnvironments();
EnvironmentModel GetEnvironmentById(Guid Id);
bool AddEnvironmentById(EnvironmentModel environment);
bool DeleteEnvironmentById(EnvironmentModel environment);
bool EditEnvironmentById(EnvironmentModel environment);
EnvironmentModel GetLinkedDomainsByEnvironmentId(Guid Id);
ICollection<TemplateModel> GetAvailableTemplatesByEnvironmentId(Guid Id);
bool CheckEnvironmentById(Guid Id);
bool CheckEnvironmentByName(String Name);
bool SaveChanges();
}
}