Most működik a fénykép
This commit is contained in:
@@ -138,5 +138,23 @@ namespace WorkFlowCheck.MAUI.Services
|
||||
|
||||
return retVal;
|
||||
}
|
||||
|
||||
public async Task<CheckListRowDTO> UpdateCheckListRow(CheckListRowDTO checkListRowDTO)
|
||||
{
|
||||
var retVal = checkListRowDTO;
|
||||
try
|
||||
{
|
||||
var checkListRow = await _dbContext.CheckListRows.Where(w => w.Id == checkListRowDTO.Id).FirstOrDefaultAsync();
|
||||
if (checkListRow != null)
|
||||
{
|
||||
checkListRow.Photo = checkListRowDTO.Photo;
|
||||
await _dbContext.SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user