23 lines
572 B
C#
23 lines
572 B
C#
using Marco.Pms.DataAccess.Data;
|
|
using Marco.Pms.DataAccess.Repository;
|
|
using Marco.Pms.DataAccess.Repository.IRepository;
|
|
using Marco.Pms.Model.Projects;
|
|
|
|
namespace BulkyBook.DataAccess.Repository
|
|
{
|
|
public class WorkAreaRepository : Repository<WorkArea>, IWorkAreaRepository
|
|
{
|
|
private readonly ApplicationDbContext _db;
|
|
public WorkAreaRepository(ApplicationDbContext db) : base(db)
|
|
{
|
|
_db = db;
|
|
}
|
|
|
|
|
|
public void Update(WorkArea workArea)
|
|
{
|
|
_db.WorkAreas.Update(workArea);
|
|
}
|
|
}
|
|
}
|