Add language repository & controller

This commit is contained in:
hishamco
2021-01-10 20:09:04 +03:00
parent 047fa9ac4e
commit aa19a35834
6 changed files with 132 additions and 1 deletions

View File

@ -0,0 +1,16 @@
using System.Collections.Generic;
using Oqtane.Models;
namespace Oqtane.Repository
{
public interface ILanguageRepository
{
IEnumerable<Language> GetLanguages(int siteId);
Language AddLanguage(Language language);
Language GetLanguage(int languageId);
void DeleteLanguage(int languageId);
}
}