SessionService.cs 957 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using VCommon.VApplication.Authorization;
  2. using VCommonCoreExample.AppServices.Basic;
  3. namespace VCommonCoreExample.AppServices.Session
  4. {
  5. public interface ISessionService
  6. {
  7. SessionOutput Login(SessionLoginInput input);
  8. [VServiceAuthorize]
  9. void Logout();
  10. [VServiceAuthorize]
  11. SessionOutput GetSession();
  12. void Dummy();
  13. }
  14. public class SessionService : DbAppServiceBase, ISessionService
  15. {
  16. SessionOutput ISessionService.Login(SessionLoginInput input)
  17. {
  18. throw new System.NotImplementedException();
  19. }
  20. SessionOutput ISessionService.GetSession()
  21. {
  22. throw new System.NotImplementedException();
  23. }
  24. void ISessionService.Dummy()
  25. {
  26. using var db = GetDbContext();
  27. }
  28. void ISessionService.Logout()
  29. {
  30. throw new System.NotImplementedException();
  31. }
  32. }
  33. }