using Gready_Poang.InterFaces;

namespace Gready_Poang;

public class ServiceLocator : IServiceLocator
{
    public static IServiceProvider? Services { get; set; } = default;
    public T Get<T>() => (T)Services!.GetService(typeof(T))!;

}
