using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LSFE.MobApp.Helpers
{
    public static class ServiceHelper
    {
        public static T GetService<T>() => Current.GetService<T>();
        public static IServiceProvider Current =>
            Application.Current.Handler.MauiContext.Services;
    }
}
