22 lines
630 B
C#
22 lines
630 B
C#
using Marco.Pms.DataAccess.Data;
|
|
using Marco.Pms.DataAccess.Repository;
|
|
using Marco.Pms.DataAccess.Repository.IRepository;
|
|
using Marco.Pms.Model.Activities;
|
|
|
|
namespace BulkyBook.DataAccess.Repository
|
|
{
|
|
public class TaskAllocationRepository : Repository<TaskAllocation>, ITaskAllocationRepository
|
|
{
|
|
private readonly ApplicationDbContext _db;
|
|
public TaskAllocationRepository(ApplicationDbContext db) : base(db)
|
|
{
|
|
_db = db;
|
|
}
|
|
|
|
public void Update(TaskAllocation employeeAllocation)
|
|
{
|
|
_db.TaskAllocations.Update(employeeAllocation);
|
|
}
|
|
}
|
|
}
|