Abgelaufene Hilfepläne anzeigen/verstecken
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Web.Security;
|
||||
using BeWo.Service.ServiceContracts;
|
||||
|
||||
using BeWoPlanerMobil.Service;
|
||||
using BS.Shared.DataContracts;
|
||||
|
||||
namespace BeWoPlanerMobil.Controllers
|
||||
{
|
||||
@@ -14,6 +15,7 @@ namespace BeWoPlanerMobil.Controllers
|
||||
protected readonly IValueListService ValueListService = new MobileSessionFacade().ValueListService;
|
||||
protected readonly IResourceService KalenderService = new MobileSessionFacade().ResourceService;
|
||||
protected readonly IAnalysisService AnalysisService = new MobileSessionFacade().AnalysisService;
|
||||
protected readonly IUserService UserService = new MobileSessionFacade().UserService;
|
||||
|
||||
|
||||
protected static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
@@ -25,5 +27,10 @@ namespace BeWoPlanerMobil.Controllers
|
||||
|
||||
return RedirectToActionPermanent("Index", "Login", new {tenant = MobileSessionFacade.Tenant});
|
||||
}
|
||||
|
||||
protected UserDC GetUser()
|
||||
{
|
||||
return UserService.LoadUser(MobileSessionFacade.LoggedInUser.Oid.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user