Try to parse Php Serialized object.

This commit is contained in:
2018-10-22 01:13:42 +02:00
parent e47c1ccb5e
commit 70d91a84f3
10 changed files with 322 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
using LaDOSE.Business.Interface;
using LaDOSE.Entity.Context;
using Microsoft.EntityFrameworkCore;
namespace LaDOSE.Business.Service
{
public class UtilService : IUtilService
{
private LaDOSEDbContext _context;
public UtilService(LaDOSEDbContext context)
{
_context = context;
}
public bool UpdateBooking()
{
_context.Database.SetCommandTimeout(60);
_context.Database.ExecuteSqlCommand("call ladoseapi.ImportEvent();");
_context.Database.SetCommandTimeout(30);
return true;
}
}
}