initial commit
This commit is contained in:
56
Repository/JobRepository.cs
Normal file
56
Repository/JobRepository.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using Microsoft.SelfService.Portal.Core.API.Context;
|
||||
using Microsoft.SelfService.Portal.Core.API.Interfaces;
|
||||
using Microsoft.SelfService.Portal.Core.API.Models;
|
||||
|
||||
namespace Microsoft.SelfService.Portal.Core.API.Repository
|
||||
{
|
||||
public class JobRepository : IJobInterface
|
||||
{
|
||||
private readonly DataContext _context;
|
||||
|
||||
public JobRepository(DataContext context)
|
||||
{
|
||||
_context = context;
|
||||
}
|
||||
|
||||
public ICollection<JobModel> GetJobs()
|
||||
{
|
||||
return _context.Jobs.ToList();
|
||||
}
|
||||
|
||||
bool IJobInterface.CheckJobById(Guid Id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
bool IJobInterface.CreateJobById(JobModel job)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
bool IJobInterface.DeleteJobById(JobModel job)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
JobModel IJobInterface.GetJobById(Guid Id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
ICollection<JobModel> IJobInterface.GetJobs()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
bool IAbstractInterface.SaveChanges()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
bool IJobInterface.UpdateJobById(JobModel job)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user