added a notes file for important running stuff
Create working for tenant and added in efcore and data layer
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace Emergence.api.Models;
|
||||
|
||||
public class ErrorDetailResults
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Description { get; set; }
|
||||
|
||||
public ErrorDetailResults(string Title, string Description)
|
||||
{
|
||||
this.Title = Title;
|
||||
this.Description = Description;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Microsoft.AspNetCore.Mvc.ModelBinding;
|
||||
|
||||
namespace Emergence.api.Models;
|
||||
|
||||
public class ValidationProblemResult
|
||||
{
|
||||
public ModelStateDictionary ModelState { get; set; }
|
||||
public ValidationProblemResult(ModelStateDictionary modelState)
|
||||
{
|
||||
ModelState = modelState;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user