private void Dispose(bool disposing) { if (!_disposed && disposing) { if (_restClient != null) { var mc = _restClient; _restClient = null; mc.Dispose(); } _disposed = true; } }
public ProjectClientService() { projectClient = new GenericRestfulCrudHttpClient <ProjectDto, string>("https://localhost:44348", ""); }
public BaseRepository(bool isAccessTokenRequired) { _restClient = new GenericRestfulCrudHttpClient <T>(_baseUrl, isAccessTokenRequired); }