-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adicionando repositório para Noticias Classificadas
- Loading branch information
Eduardo Fuso
committed
May 15, 2023
1 parent
b4e4352
commit 39d9a8e
Showing
4 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
ComitivaEsperanca.API.Domain/Interfaces/Repositories/Entities/IClassifiedNewsRepository.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using ComitivaEsperanca.API.Domain.Entities; | ||
|
||
namespace ComitivaEsperanca.API.Domain.Interfaces.Repositories.Entities | ||
{ | ||
public interface IClassifiedNewsRepository : IBaseRepository<ClassifiedNews> | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
ComitivaEsperanca.Data/Repositories/Entities/ClassifiedNewsRepository.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using ComitivaEsperanca.API.Data.Context; | ||
using ComitivaEsperanca.API.Domain.Entities; | ||
using ComitivaEsperanca.API.Domain.Interfaces.Repositories.Entities; | ||
|
||
namespace ComitivaEsperanca.API.Data.Repositories.Entities | ||
{ | ||
public class ClassifiedNewsRepository : BaseRepository<ClassifiedNews>, IClassifiedNewsRepository | ||
{ | ||
public ClassifiedNewsRepository(CoreContext context) : base(context) | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters