Last change
on this file since 2771 was
2771,
checked in by gkronber, 14 years ago
|
Implemented and tested rudimentary WCF service interface on top of the Linq2Sql data access layer. #860
|
File size:
760 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Runtime.Serialization;
|
---|
5 | using System.ServiceModel;
|
---|
6 | using System.Text;
|
---|
7 | using HeuristicLab.Services.Deployment.DataAccess;
|
---|
8 |
|
---|
9 | namespace HeuristicLab.Services.Deployment {
|
---|
10 | // NOTE: If you change the class name "Admin" here, you must also update the reference to "Admin" in App.config.
|
---|
11 | public class Admin : IAdmin {
|
---|
12 | #region IAdmin Members
|
---|
13 |
|
---|
14 | public void DeployProduct(ProductDescription product) {
|
---|
15 | var store = new PluginStore();
|
---|
16 | store.Persist(product);
|
---|
17 | }
|
---|
18 |
|
---|
19 | public void DeployPlugin(PluginDescription plugin, byte[] zipFile) {
|
---|
20 | var store = new PluginStore();
|
---|
21 | store.Persist(plugin, zipFile);
|
---|
22 | }
|
---|
23 |
|
---|
24 | #endregion
|
---|
25 | }
|
---|
26 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.