18 lines
390 B
C#
18 lines
390 B
C#
using Demo.Common;
|
|
using Demo.Services.Interfaces;
|
|
using RestSharp;
|
|
using System.Windows;
|
|
|
|
namespace Demo.Services
|
|
{
|
|
public class BaseService : IBaseService
|
|
{
|
|
protected RestClient BaseRestClient;
|
|
public BaseService(RestClient client = null)
|
|
{
|
|
BaseRestClient = client ?? new RestClient(new Uri($@"http://192.168.2.9:5192"));
|
|
}
|
|
|
|
}
|
|
}
|