1.1.019 verzió kiadása
This commit is contained in:
@@ -22,19 +22,16 @@ using WorkFlowCheck.DL.Entities;
|
||||
|
||||
namespace WorkFlowCheck.BL.Services
|
||||
{
|
||||
public class CheckListService : ICheckListService
|
||||
public class CheckListService : BaseService, ICheckListService
|
||||
{
|
||||
private readonly AppDbContext _dbContext;
|
||||
private readonly IMapper _mapper;
|
||||
|
||||
private readonly INumberGeneratorService _numberGeneratorService;
|
||||
|
||||
public CheckListService(AppDbContext dbContext,
|
||||
IMapper mapper,
|
||||
INumberGeneratorService numberGeneratorService,
|
||||
IUserService userService)
|
||||
IUserService userService) : base(dbContext, mapper)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
_mapper = mapper;
|
||||
_numberGeneratorService = numberGeneratorService;
|
||||
}
|
||||
|
||||
@@ -397,6 +394,7 @@ namespace WorkFlowCheck.BL.Services
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
|
||||
public async Task<CheckListTemplateHeaderDTO> GetCheckListTemplateHeaderAsync(int Id)
|
||||
{
|
||||
var retVal = new CheckListTemplateHeaderDTO()
|
||||
@@ -517,6 +515,10 @@ namespace WorkFlowCheck.BL.Services
|
||||
|
||||
return retVal;
|
||||
}
|
||||
public async Task<bool> DeleteCheckListTemplateRowAsync(int id)
|
||||
{
|
||||
return await DeleteEntityByIdAsync<CheckListTemplateRow>(id);
|
||||
}
|
||||
public async Task<CheckListTemplateRowDTO> UpdateCheckListTemplateRowAsync(CheckListTemplateRowDTO checkListTemplateRowDTO)
|
||||
{
|
||||
var retVal = new CheckListTemplateRowDTO() { };
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace WorkFlowCheck.BL.Services.Interfaces
|
||||
Task<CheckListTemplateHeaderDTO> UpdateCheckListTemplateHeaderAsync(CheckListTemplateHeaderDTO checkListTemplateHeaderDTO);
|
||||
|
||||
Task<CheckListTemplateRowDTO> GetCheckListTemplateRowAsync(int id);
|
||||
Task<bool> DeleteCheckListTemplateRowAsync(int id);
|
||||
Task<CheckListTemplateRowDTO> UpdateCheckListTemplateRowAsync(CheckListTemplateRowDTO checkListTemplateRowDTO);
|
||||
|
||||
Task<CheckListRowDTO> GetCheckListRowAsync(int id);
|
||||
|
||||
Reference in New Issue
Block a user