diff options
| author | Sonja Galovic <galovicsonja@gmail.com> | 2022-05-04 20:47:19 +0200 | 
|---|---|---|
| committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-05-04 20:47:19 +0200 | 
| commit | bae455c30570d97ded6a291238f2393628d7cefa (patch) | |
| tree | dc2b9cb7cb34e2499dd2feb0bb61fbbf2500b5a6 /backend/api/api/Interfaces | |
| parent | eee8b1f3790b243be19b015a37a2acd4e882b31e (diff) | |
| parent | 0e945bd6f428edb13718aed247209f215b93e735 (diff) | |
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'backend/api/api/Interfaces')
| -rw-r--r-- | backend/api/api/Interfaces/IDatasetService.cs | 3 | ||||
| -rw-r--r-- | backend/api/api/Interfaces/IExperimentService.cs | 3 | ||||
| -rw-r--r-- | backend/api/api/Interfaces/IModelService.cs | 6 | 
3 files changed, 7 insertions, 5 deletions
| diff --git a/backend/api/api/Interfaces/IDatasetService.cs b/backend/api/api/Interfaces/IDatasetService.cs index f493a2ec..2f7d0010 100644 --- a/backend/api/api/Interfaces/IDatasetService.cs +++ b/backend/api/api/Interfaces/IDatasetService.cs @@ -5,7 +5,8 @@ namespace api.Services  {      public interface IDatasetService      { -        Dataset GetOneDataset(string userId, string name); +        Dataset GetOneDataset(string userId, string id); +        Dataset GetOneDatasetN(string userId, string name);          Dataset GetOneDataset(string id);          List<Dataset> SearchDatasets(string name);          List<Dataset> GetMyDatasets(string userId); diff --git a/backend/api/api/Interfaces/IExperimentService.cs b/backend/api/api/Interfaces/IExperimentService.cs index 2a69cff9..311560e8 100644 --- a/backend/api/api/Interfaces/IExperimentService.cs +++ b/backend/api/api/Interfaces/IExperimentService.cs @@ -8,8 +8,9 @@ namespace api.Services          public Experiment Get(string id);          public List<Experiment> GetMyExperiments(string id);          public Experiment Get(string uploaderId, string name); -        Experiment GetOneExperiment(string userId, string name); +        Experiment GetOneExperiment(string userId, string id);          void Update(string userId, string id, Experiment experiment); +        void Delete(string userId, string id);      }  }
\ No newline at end of file diff --git a/backend/api/api/Interfaces/IModelService.cs b/backend/api/api/Interfaces/IModelService.cs index 00299979..8c4543de 100644 --- a/backend/api/api/Interfaces/IModelService.cs +++ b/backend/api/api/Interfaces/IModelService.cs @@ -3,14 +3,14 @@ using api.Models;  namespace api.Services  { -	public interface IModelService -	{ +    public interface IModelService +    {          Model GetOneModel(string userId, string name);          Model GetOneModel(string id);          List<Model> GetMyModels(string userId);          List<Model> GetMyModelsByType(string userId, string problemType);          List<Model> GetLatestModels(string userId); -        //List<Model> GetPublicModels(); +        List<Model> GetPublicModels();          Model Create(Model model);          Model Replace(Model model);          void Update(string userId, string name, Model model); | 
