Add project files.

This commit is contained in:
2025-05-01 15:18:30 +03:00
parent e058ab8015
commit 774d695414
3094 changed files with 1336814 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using ConstructorApp.DataAccessLayer.Abstract;
using ConstructorApp.DataAccessLayer.Concrete;
using ConstructorApp.DataAccessLayer.Repositories;
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.EntityFramework
{
public class EfReferenceDal : GenericRepository<Reference>, IReferenceDal
{
private readonly ConstructorContext context;
public EfReferenceDal(ConstructorContext context) : base(context)
{
this.context = context;
}
public int CountAll()
{
return context.References.Count();
}
}
}