Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -6,8 +6,15 @@ namespace Microsoft.SelfService.Portal.Core.API.Interfaces
|
||||
{
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user