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.BusinessLayer.Abstract
{
public interface ICompanyInfoService :IGenericService<CompanyInfo>
{
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface ICompanyInfoVideoService : IGenericService<CompanyInfoVideo>
{
}
}

View File

@@ -0,0 +1,11 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IContactUsService : IGenericService<ContactUs>
{
int TCountByStatusPending();
int TCountAll();
void TMarkAsRead(int id);
}
}

View File

@@ -0,0 +1,9 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IFooterService : IGenericService<Footer>
{
Footer TGetFooterDetails();
}
}

View File

@@ -0,0 +1,11 @@
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IGenericService<T> where T : class
{
void TAdd(T entity);
void TDelete(T entity);
void TUpdate(T entity);
T TGetByID(int id);
List<T> TGetListAll();
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IHomeBannerService : IGenericService<HomeBanner>
{
}
}

View File

@@ -0,0 +1,9 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IProjectGalleryService : IGenericService<ProjectGallery>
{
List<ProjectGallery> TGetImagesByProjectId(int projectId);
}
}

View File

@@ -0,0 +1,13 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IProjectService : IGenericService<Project>
{
void TProjectStatusActive(int id);
void TProjectStatusPassive(int id);
int TCountAll();
Project TGetBySlug(string slug);
Project TGetProjectWithImagesBySlug(string slug);
}
}

View File

@@ -0,0 +1,9 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IReferenceService : IGenericService<Reference>
{
int TCountAll();
}
}

View File

@@ -0,0 +1,10 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IServiceService : IGenericService<Service>
{
void TServiceStatusActive(int id);
void TServiceStatusPassive(int id);
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface ISliderService : IGenericService<Slider>
{
}
}

View File

@@ -0,0 +1,8 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface ITeamService : IGenericService<Team>
{
}
}

View File

@@ -0,0 +1,11 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface ITestimonialService : IGenericService<Testimonial>
{
void TTestimonialStatusActive(int id);
void TTestimonialStatusPassive(int id);
int TCountAll();
}
}

View File

@@ -0,0 +1,10 @@
using ConstructorApp.EntityLayer.Entities;
namespace ConstructorApp.BusinessLayer.Abstract
{
public interface IWorkProcessService : IGenericService<WorkProcess>
{
void TServiceStatusActive(int id);
void TServiceStatusPassive(int id);
}
}