using RIZO_Application.Infrastructure.CustomAttribute; using RIZO_Application.Infrastructure.Model; using RIZO_Application.Models; using RIZO_Application.Repository; using RIZO_Application.Services.Interfaces; namespace RIZO_Application.Services { [AppService(ServiceType = typeof(IMessageService), Lifetime = ServiceLifetime.Transient)] public class MessageService : BaseRepository ,IMessageService { public string GetMessage() { return AppSettings.Current.AppName; } } }