update to .NET 6.0
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
using CarParkValidationAPI.Entities;
|
||||
using CarParkValidationAPI.Interface;
|
||||
using CarParkValidationAPI.Models;
|
||||
using DocumentFormat.OpenXml.VariantTypes;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Options;
|
||||
using System;
|
||||
@@ -189,7 +191,17 @@ namespace CarParkValidationAPI.Repository
|
||||
}
|
||||
|
||||
}
|
||||
public async Task<ResultModel<Dictionary<int, LookupCodeDto>>> GetValidationPointDicAsync()
|
||||
{
|
||||
Dictionary<int, LookupCodeDto> resultList = new();
|
||||
return new ResultModel<Dictionary<int, LookupCodeDto>>()
|
||||
{
|
||||
Data = resultList,
|
||||
StatusCode = 1,
|
||||
Message = ""
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user