Photo rendberakása + EF migráció
This commit is contained in:
@@ -184,7 +184,7 @@ namespace WorkFlowCheck.BL.Services
|
||||
CheckListTemplateRowId = item.Id,
|
||||
GuidNumber = Guid.NewGuid(),
|
||||
IsDeleted = false,
|
||||
Photo = new byte[0],
|
||||
PhotoFileName = "",
|
||||
};
|
||||
_dbContext.CheckListRows.Add(checkListRow);
|
||||
}
|
||||
@@ -410,7 +410,7 @@ namespace WorkFlowCheck.BL.Services
|
||||
if (checkListRow != null)
|
||||
{
|
||||
checkListRow.Answer = checkListRowDTO.Answer;
|
||||
checkListRow.Photo = checkListRowDTO.Photo;
|
||||
//checkListRow.Photo = checkListRowDTO.Photo;
|
||||
await _dbContext.SaveChangesAsync();
|
||||
retVal = _mapper.Map<CheckListRowDTO>(checkListRow);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user