Skip to content

Commit

Permalink
add PersonNameRepository by implementing the IPersonNameRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
nixhantb committed Feb 16, 2024
1 parent bff7d72 commit 5cfebd1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
namespace JobLeet.WebApi.JobLeet.Core.Interfaces.Common.V1
using JobLeet.WebApi.JobLeet.Api.Models.Common.V1;

namespace JobLeet.WebApi.JobLeet.Core.Interfaces.Common.V1
{
public interface IPersonNameRepository : IRepository
public interface IPersonNameRepository : IRepository<PersonNameModel>
{

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
using JobLeet.WebApi.JobLeet.Api.Models.Common.V1;
using JobLeet.WebApi.JobLeet.Core.Interfaces.Common.V1;

namespace JobLeet.WebApi.JobLeet.Infrastructure.Repositories.Common.V1
{
public class PersonNameRepository : IPersonNameRepository
{
public Task AddAsync(PersonNameModel entity)
{
throw new NotImplementedException();
}

public Task DeleteAsync(int id)
{
throw new NotImplementedException();
}

public Task<List<PersonNameModel>> GetAllAsync()
{
throw new NotImplementedException();
}

public Task<PersonNameModel> GetByIdAsync(int id)
{
throw new NotImplementedException();
}

public Task UpdateAsync(PersonNameModel entity)
{
throw new NotImplementedException();
}
}
}

0 comments on commit 5cfebd1

Please sign in to comment.