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.

LuGroupsController.cs 672B

123456789101112131415161718192021222324
  1. using Luticate2.Auth.Business;
  2. using Luticate2.Utils.Controllers;
  3. using Luticate2.Utils.Dbo.Basic;
  4. using Microsoft.AspNetCore.Mvc;
  5. using Microsoft.Extensions.Options;
  6. namespace Luticate2.Auth.Controllers
  7. {
  8. [Route("luticate/groups")]
  9. public class LuGroupsController : LuController
  10. {
  11. private readonly LuGroupsBusiness _luGroupsBusiness;
  12. public LuGroupsController(LuGroupsBusiness luGroupsBusiness, IOptions<LuUtilsOptionsDbo> luUtilsOptionsDbo) : base(luUtilsOptionsDbo)
  13. {
  14. _luGroupsBusiness = luGroupsBusiness;
  15. }
  16. public string Get()
  17. {
  18. return _luGroupsBusiness.Get();
  19. }
  20. }
  21. }