Initial commit

This commit is contained in:
2021-05-26 19:04:05 +02:00
commit 5dcd0d1046
483 changed files with 614430 additions and 0 deletions

28
App/Models/CRUDModel.cs Normal file
View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace sf1.Models
{
public class ICRUDModel<T> where T : class
{
public string action { get; set; }
public string table { get; set; }
public string keyColumn { get; set; }
public object key { get; set; }
public T value { get; set; }
public List<T> added { get; set; }
public List<T> changed { get; set; }
public List<T> deleted { get; set; }
public IDictionary<string, object> @params { get; set; }
}
}

View File

@@ -0,0 +1,11 @@
using System;
namespace sf1.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
}