23 lines
753 B
C#
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();
|
|
}
|
|
}
|