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

21 lines
609 B
C#

using Microsoft.SelfService.Portal.Core.API.Models;
namespace Microsoft.SelfService.Portal.Core.API.Interfaces
{
public interface ITemplateInterface
{
ICollection<TemplateModel> GetTemplates();
bool AddTemplateById(TemplateModel template);
bool EditTemplateById(TemplateModel template);
bool DeleteTemplateById(TemplateModel template);
TemplateModel GetTemplateById(Guid Id);
bool CheckTemplateById(Guid Id);
TemplateModel GetTemplateByName(string Name);
bool CheckTemplateByName(string Name);
bool SaveChanges();
}
}