Skip to content

Commit

Permalink
update personName repo an controller
Browse files Browse the repository at this point in the history
  • Loading branch information
nixhantb committed Feb 18, 2024
1 parent 34a0d54 commit 4470926
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using JobLeet.WebApi.JobLeet.Api.Logging;
using JobLeet.WebApi.JobLeet.Api.Models.Common.V1;
using JobLeet.WebApi.JobLeet.Core.Interfaces.Common.V1;

namespace JobLeet.WebApi.JobLeet.Api.Controllers.Common.V1
{
public class PersonNameController: BaseApiController<PersonNameModel, IPersonNameRepository>
{
public PersonNameController(IPersonNameRepository personNameRepository, ILoggerManagerV1 logger)
: base(personNameRepository, logger)
{

}
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
using JobLeet.WebApi.JobLeet.Api.Models.Common.V1;
using JobLeet.WebApi.JobLeet.Core.Interfaces.Common.V1;
using Microsoft.EntityFrameworkCore;

namespace JobLeet.WebApi.JobLeet.Infrastructure.Repositories.Common.V1
{
public class PersonNameRepository : IPersonNameRepository
{
private readonly DbContext _dbContext;
public PersonNameRepository(DbContext dbContext)
{
_dbContext = dbContext;
}

public Task AddAsync(PersonNameModel entity)
{
throw new NotImplementedException();
Expand Down

0 comments on commit 4470926

Please sign in to comment.