Files
Microsoft.SelfService.Porta…/Interfaces/IDeploymentInterface.cs

21 lines
711 B
C#

using Microsoft.SelfService.Portal.Core.API.Models;
namespace Microsoft.SelfService.Portal.Core.API.Interfaces
{
public interface IDeploymentInterface
{
ICollection<DeploymentModel> GetDeployments();
DeploymentModel GetDeploymentById(Guid Id);
bool AddDeploymentById(DeploymentModel deployment);
bool DeleteDeploymentById(DeploymentModel deployment);
bool EditDeploymentById(DeploymentModel deployment);
DeploymentModel GetDeploymentByCompositeId(Guid deploymentGroupId, Guid targetId);
bool CheckDeploymentByCompositeId(Guid deploymentGroupId, Guid targetId);
bool CheckDeploymentById(Guid Id);
bool SaveChanges();
}
}