|
@@ -17,7 +17,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
|
|
|
ListSummaryOutput ListSummary(QueryByIdInput input);
|
|
|
|
|
|
- KanbanEntryCreateOutput ListCreate(CreateWithTitleInput input); //TODO: Kanban ID
|
|
|
+ KanbanEntryCreateOutput ListCreate(CreateWithNameInput input); //TODO: Kanban ID
|
|
|
|
|
|
void ListRename(ContentInput input);
|
|
|
|
|
@@ -29,7 +29,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
|
|
|
CardDetailOutput CardDetail(QueryByIdInput input);
|
|
|
|
|
|
- KanbanEntryCreateOutput CardCreate(CreateWithTitleAndParentIdInput input);
|
|
|
+ KanbanEntryCreateOutput CardCreate(CreateWithNameAndParentIdInput input);
|
|
|
|
|
|
void CardRename(ContentInput input);
|
|
|
|
|
@@ -41,7 +41,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
|
|
|
// manifest level
|
|
|
|
|
|
- KanbanEntryCreateOutput ManifestCreate(CreateWithTitleAndParentIdInput input);
|
|
|
+ KanbanEntryCreateOutput ManifestCreate(CreateWithNameAndParentIdInput input);
|
|
|
|
|
|
void ManifestMove(MoveInput input);
|
|
|
|
|
@@ -51,7 +51,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
|
|
|
// item level
|
|
|
|
|
|
- KanbanEntryCreateOutput ItemCreate(CreateWithTitleAndParentIdInput input);
|
|
|
+ KanbanEntryCreateOutput ItemCreate(CreateWithNameAndParentIdInput input);
|
|
|
|
|
|
void ItemMove(MoveInput input);
|
|
|
|
|
@@ -136,13 +136,13 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
};
|
|
|
}
|
|
|
|
|
|
- KanbanEntryCreateOutput IKanbanService.ListCreate(CreateWithTitleInput input)
|
|
|
+ KanbanEntryCreateOutput IKanbanService.ListCreate(CreateWithNameInput input)
|
|
|
{
|
|
|
var ne = new KanbanEntity
|
|
|
{
|
|
|
//TODO: Kanban ID
|
|
|
Type = KanbanEntryType.List,
|
|
|
- Name = input.Title,
|
|
|
+ Name = input.Name,
|
|
|
};
|
|
|
|
|
|
using (var repo = GetRepository())
|
|
@@ -198,7 +198,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
throw new NotImplementedException();
|
|
|
}
|
|
|
|
|
|
- KanbanEntryCreateOutput IKanbanService.CardCreate(CreateWithTitleAndParentIdInput input)
|
|
|
+ KanbanEntryCreateOutput IKanbanService.CardCreate(CreateWithNameAndParentIdInput input)
|
|
|
{
|
|
|
KanbanEntity ne;
|
|
|
|
|
@@ -214,7 +214,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
{
|
|
|
Type = KanbanEntryType.Card,
|
|
|
ListId = input.ParentId,
|
|
|
- Name = input.Title,
|
|
|
+ Name = input.Name,
|
|
|
};
|
|
|
|
|
|
var existedCount = repo.Query(p => p.Type == KanbanEntryType.Card && p.ListId == input.ParentId).Count();
|
|
@@ -266,7 +266,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
throw new NotImplementedException();
|
|
|
}
|
|
|
|
|
|
- KanbanEntryCreateOutput IKanbanService.ManifestCreate(CreateWithTitleAndParentIdInput input)
|
|
|
+ KanbanEntryCreateOutput IKanbanService.ManifestCreate(CreateWithNameAndParentIdInput input)
|
|
|
{
|
|
|
throw new NotImplementedException();
|
|
|
}
|
|
@@ -286,7 +286,7 @@ namespace MyTrelloWeb.App.AppServices
|
|
|
throw new NotImplementedException();
|
|
|
}
|
|
|
|
|
|
- KanbanEntryCreateOutput IKanbanService.ItemCreate(CreateWithTitleAndParentIdInput input)
|
|
|
+ KanbanEntryCreateOutput IKanbanService.ItemCreate(CreateWithNameAndParentIdInput input)
|
|
|
{
|
|
|
throw new NotImplementedException();
|
|
|
}
|