12 lines
309 B
C#
12 lines
309 B
C#
using Flawless.Client.ViewModels;
|
|
|
|
namespace Flawless.Client.Service;
|
|
|
|
public class BaseService<TService> where TService : class, new()
|
|
{
|
|
private static TService? _currentService;
|
|
|
|
public static TService Current => _currentService ??= new TService();
|
|
|
|
public static TService C => Current;
|
|
} |