- add dummy operation contracts

- addTable returns true for testing
pull/26/head
Simon Gockner 6 years ago
parent 5b07143e20
commit 61e0e52ecc
  1. 3
      GBase.Api/Services/IGBaseEntryService.cs
  2. 3
      GBase.Api/Services/IGBaseTableService.cs
  3. 5
      GBase.Client/Services/GBaseEntryService.cs
  4. 5
      GBase.Client/Services/GBaseTableService.cs
  5. 5
      GBase.Server/Services/GBaseEntryService.cs
  6. 2
      GBase.Server/Services/GBaseService.cs
  7. 5
      GBase.Server/Services/GBaseTableService.cs

@ -10,6 +10,7 @@ namespace GBase.Api.Services
[ServiceContract] [ServiceContract]
public interface IGBaseEntryService : IAsyncDisposable //TODO: Add OperationContracts for all operations this service has to do public interface IGBaseEntryService : IAsyncDisposable //TODO: Add OperationContracts for all operations this service has to do
{ {
[OperationContract]
void Dummy();
} }
} }

@ -10,6 +10,7 @@ namespace GBase.Api.Services
[ServiceContract] [ServiceContract]
public interface IGBaseTableService : IAsyncDisposable //TODO: Add OperationContracts for all operations this service has to do public interface IGBaseTableService : IAsyncDisposable //TODO: Add OperationContracts for all operations this service has to do
{ {
[OperationContract]
void Dummy();
} }
} }

@ -13,5 +13,10 @@ namespace GBase.Client.Services
{ {
} }
public void Dummy()
{
throw new System.NotImplementedException();
}
} }
} }

@ -13,5 +13,10 @@ namespace GBase.Client.Services
{ {
} }
public void Dummy()
{
throw new System.NotImplementedException();
}
} }
} }

@ -9,6 +9,11 @@ namespace GBase.Server.Services
{ {
public class GBaseEntryService : IGBaseEntryService public class GBaseEntryService : IGBaseEntryService
{ {
public void Dummy()
{
throw new System.NotImplementedException();
}
public async ValueTask DisposeAsync() public async ValueTask DisposeAsync()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();

@ -11,7 +11,7 @@ namespace GBase.Server.Services
{ {
public bool AddTable() public bool AddTable()
{ {
throw new System.NotImplementedException(); return true;
} }
public bool RemoveTable() public bool RemoveTable()

@ -9,6 +9,11 @@ namespace GBase.Server.Services
{ {
public class GBaseTableService : IGBaseTableService public class GBaseTableService : IGBaseTableService
{ {
public void Dummy()
{
throw new System.NotImplementedException();
}
public async ValueTask DisposeAsync() public async ValueTask DisposeAsync()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();

Loading…
Cancel
Save