using Microsoft.SelfService.Portal.Core.API.Models; namespace Microsoft.SelfService.Portal.Core.API.Interfaces { public interface ITemplateInterface { ICollection 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(); } }