You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PkGuidController.cs 758B

12345678910111213141516171819202122232425262728293031
  1. using Luticate2.Utils.Controllers;
  2. using Luticate2.Utils.Dbo.OrderBy;
  3. using Microsoft.AspNetCore.Mvc;
  4. using Test.Utils.Dbo.PkGuid;
  5. using WebTest.Business;
  6. namespace WebTest.Controllers
  7. {
  8. public class PkGuidController : LuController
  9. {
  10. private readonly PkGuidBusiness _busines;
  11. public PkGuidController(PkGuidBusiness busines)
  12. {
  13. _busines = busines;
  14. }
  15. [Route("[controller]/{id}")]
  16. public PkGuidDbo Get(string id)
  17. {
  18. return Handle(_busines.GetSingleById(id));
  19. }
  20. [Route("[controller]")]
  21. public PkGuidDbo Get(LuOrderByDbo orderBy)
  22. {
  23. return new PkGuidDbo();
  24. // return Handle(_busines.GetMultiple());
  25. }
  26. }
  27. }