initial commit
This commit is contained in:
22
Interfaces/IEnvironmentInterface.cs
Normal file
22
Interfaces/IEnvironmentInterface.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user