Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface ITitleService
- {
- TitleContextModel GetContextTitle(IPageTemplate contextPageTemplate);
- TitleDictionaryModel GetDictionaryTitle(IDictionaryTitleTemplate dictionaryTitleTemplate);
- TitleNormalModel GetNormalTitle(INormalTitleTemplate normalTitleTemplate);
- }
- public class TitleService : ITitleService
- {
- private readonly ITitleLogic _TitleLogic;
- public TitleService(ITitleLogic TitleLogic)
- {
- _TitleLogic = TitleLogic;
- }
- public TitleContextModel GetContextTitle(IPageTemplate contextPageTemplate)
- {
- return _TitleLogic.GetContextTitle(contextPageTemplate);
- }
- public TitleDictionaryModel GetDictionaryTitle(IDictionaryTitleTemplate dictionaryTitleTemplate)
- {
- return _TitleLogic.GetDictionaryTitle(dictionaryTitleTemplate);
- }
- public TitleNormalModel GetNormalTitle(INormalTitleTemplate normalTitleTemplate)
- {
- return _TitleLogic.GetNormalTitle(normalTitleTemplate);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement