Refactor code structure for improved readability and maintainability

This commit is contained in:
Torsten Brendgen
2026-05-16 16:45:28 +02:00
parent 14f856fdb3
commit 96a3e98109
426 changed files with 29236 additions and 114 deletions

View File

@@ -0,0 +1,20 @@
using Microsoft.SelfService.Portal.Core.API.Models;
namespace Microsoft.SelfService.Portal.Core.API.Interfaces
{
public interface ITemplateCategoryInterface
{
ICollection<TemplateCategoryModel> GetTemplateCategories();
bool AddTemplateCategoryById(TemplateCategoryModel templateCategory);
bool EditTemplateCategoryById(TemplateCategoryModel templateCategory);
bool DeleteTemplateCategoryById(TemplateCategoryModel templateCategory);
TemplateCategoryModel GetTemplateCategoryById(Guid Id);
bool CheckTemplateCategoryById(Guid Id);
TemplateCategoryModel GetTemplateCategoryByName(string Name);
bool CheckTemplateCategoryByName(string Name);
bool SaveChanges();
}
}