123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using VCommon.VApplication.Authorization;
- using VCommonCoreExample.AppServices.Basic;
- namespace VCommonCoreExample.AppServices.Session
- {
- public interface ISessionService
- {
- SessionOutput Login(SessionLoginInput input);
- [VServiceAuthorize]
- void Logout();
- [VServiceAuthorize]
- SessionOutput GetSession();
- void Dummy();
- }
- public class SessionService : DbAppServiceBase, ISessionService
- {
- SessionOutput ISessionService.Login(SessionLoginInput input)
- {
- throw new System.NotImplementedException();
- }
- SessionOutput ISessionService.GetSession()
- {
- throw new System.NotImplementedException();
- }
- void ISessionService.Dummy()
- {
- using var db = GetDbContext();
- }
- void ISessionService.Logout()
- {
- throw new System.NotImplementedException();
- }
- }
- }
|