Skip to content

Commit 63ec3ab

Browse files
committed
Fix a typo. Add a method to get all Categories and one to get categories based on the category name.
1 parent f50905a commit 63ec3ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Core/Domain/Services/ICategoryRepository.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ namespace CompanyName.Notebook.NoteTaking.Core.Domain.Services
77
public interface ICategoryRepository
88
{
99
ICategory Get(Guid id);
10-
IList<ICategory> Get(string userId);
10+
ICategory GetByName(string name);
11+
IList<ICategory> GetAll();
1112
ICategory Add<ICategory>(ICategory category);
1213
ICategory Save<ICategory>(ICategory category);
1314
ICategory Delete(Guid id);

0 commit comments

Comments
 (0)