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,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface ICompanyInfoDal : IGenericDal<CompanyInfo>
{
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface ICompanyInfoVideoDal : IGenericDal<CompanyInfoVideo>
{
}
}

View File

@@ -0,0 +1,11 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IContactUsDal : IGenericDal<ContactUs>
{
int CountByStatusPending();
int CountAll();
void MarkAsRead(int id);
}
}

View File

@@ -0,0 +1,9 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IFooterDal : IGenericDal<Footer>
{
Footer GetFooterDetails();
}
}

View File

@@ -0,0 +1,12 @@
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IGenericDal<T> where T : class
{
void Add(T entity);
void Delete(T entity);
void Update(T entity);
T GetByID(int id);
List<T> GetListAll();
Task<List<T>> GetListAllAsync();
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IHomeBannerDal : IGenericDal<HomeBanner>
{
}
}

View File

@@ -0,0 +1,13 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IProjectDal : IGenericDal<Project>
{
void ProjectStatusActive(int id);
void rojectStatusPassive(int id);
int CountAll();
Project GetBySlug(string slug);
Project GetProjectWithImagesBySlug(string slug);
}
}

View File

@@ -0,0 +1,9 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IProjectGalleryDal : IGenericDal<ProjectGallery>
{
List<ProjectGallery> GetImagesByProjectId(int projectId);
}
}

View File

@@ -0,0 +1,9 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IReferenceDal : IGenericDal<Reference>
{
int CountAll();
}
}

View File

@@ -0,0 +1,10 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IServiceDal : IGenericDal<Service>
{
void ServiceStatusActive(int id);
void ServiceStatusPassive(int id);
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface ISliderDal : IGenericDal<Slider>
{
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface ITeamDal : IGenericDal<Team>
{
}
}

View File

@@ -0,0 +1,11 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface ITestimonialDal : IGenericDal<Testimonial>
{
void TestimonialStatusActive(int id);
void TestimonialStatusPassive(int id);
int CountAll();
}
}

View File

@@ -0,0 +1,10 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.DataAccessLayer.Abstract
{
public interface IWorkProcessDal : IGenericDal<WorkProcess>
{
void ServiceStatusActive(int id);
void ServiceStatusPassive(int id);
}
}