Add project files.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface ICompanyInfoService :IGenericService<CompanyInfo>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface ICompanyInfoVideoService : IGenericService<CompanyInfoVideo>
|
||||
{
|
||||
}
|
||||
}
|
||||
11
ConstructorApp.BusinessLayer/Abstract/IContactUsService.cs
Normal file
11
ConstructorApp.BusinessLayer/Abstract/IContactUsService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
9
ConstructorApp.BusinessLayer/Abstract/IFooterService.cs
Normal file
9
ConstructorApp.BusinessLayer/Abstract/IFooterService.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface IFooterService : IGenericService<Footer>
|
||||
{
|
||||
Footer TGetFooterDetails();
|
||||
}
|
||||
}
|
||||
11
ConstructorApp.BusinessLayer/Abstract/IGenericService.cs
Normal file
11
ConstructorApp.BusinessLayer/Abstract/IGenericService.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface IHomeBannerService : IGenericService<HomeBanner>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface IProjectGalleryService : IGenericService<ProjectGallery>
|
||||
{
|
||||
List<ProjectGallery> TGetImagesByProjectId(int projectId);
|
||||
}
|
||||
}
|
||||
13
ConstructorApp.BusinessLayer/Abstract/IProjectService.cs
Normal file
13
ConstructorApp.BusinessLayer/Abstract/IProjectService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface IReferenceService : IGenericService<Reference>
|
||||
{
|
||||
int TCountAll();
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.BusinessLayer/Abstract/IServiceService.cs
Normal file
10
ConstructorApp.BusinessLayer/Abstract/IServiceService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
8
ConstructorApp.BusinessLayer/Abstract/ISliderService.cs
Normal file
8
ConstructorApp.BusinessLayer/Abstract/ISliderService.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface ISliderService : IGenericService<Slider>
|
||||
{
|
||||
}
|
||||
}
|
||||
8
ConstructorApp.BusinessLayer/Abstract/ITeamService.cs
Normal file
8
ConstructorApp.BusinessLayer/Abstract/ITeamService.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using ConstructorApp.EntityLayer.Entities;
|
||||
|
||||
namespace ConstructorApp.BusinessLayer.Abstract
|
||||
{
|
||||
public interface ITeamService : IGenericService<Team>
|
||||
{
|
||||
}
|
||||
}
|
||||
11
ConstructorApp.BusinessLayer/Abstract/ITestimonialService.cs
Normal file
11
ConstructorApp.BusinessLayer/Abstract/ITestimonialService.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
10
ConstructorApp.BusinessLayer/Abstract/IWorkProcessService.cs
Normal file
10
ConstructorApp.BusinessLayer/Abstract/IWorkProcessService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user