Changeset 13740 for branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Controllers/ResourceController.cs
- Timestamp:
- 03/30/16 17:30:01 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Controllers/ResourceController.cs
r13739 r13740 24 24 { 25 25 weblog = WebLoginService.Instance; 26 _environment = env; 27 } 28 private void init() 29 { 26 30 var u = HttpContext.Session.GetString("UserId"); 27 31 if (u == null || u == "" || Guid.Parse(u) == Guid.Empty) … … 32 36 clientWeb = new HiveClientWeb(serviceLocator, userId); 33 37 } 34 else { 38 else 39 { 35 40 userId = Guid.Parse(u); 36 37 41 serviceLocator = weblog.getServiceLocator(userId); 38 42 serviceClient = serviceLocator.getHiveServiceClient(); 39 43 clientWeb = weblog.getClientWeb(userId); 40 44 } 41 42 _environment = env;43 45 } 44 46 public IActionResult Index() 45 47 { 48 init(); 46 49 if (serviceLocator.CheckLogin()) 47 50 {
Note: See TracChangeset
for help on using the changeset viewer.