1234567891011121314151617181920212223242526272829 |
- using Luticate2.Utils.Controllers;
- using Microsoft.AspNetCore.Mvc;
- using Test.Utils.Dbo.PkGuid;
- using WebTest.Business;
-
- namespace WebTest.Controllers
- {
- public class PkGuidController : LuController
- {
- private readonly PkGuidBusiness _busines;
-
- public PkGuidController(PkGuidBusiness busines)
- {
- _busines = busines;
- }
-
- [Route("[controller]/{id}")]
- public PkGuidDbo Get(string id)
- {
- return Handle(_busines.GetSingleById(id));
- }
-
- // [Route("[controller]")]
- // public PkGuidDbo Get()
- // {
- // return Handle(_busines.GetMultiple());
- // }
- }
- }
|