Abgelaufene Hilfepläne anzeigen/verstecken

This commit is contained in:
Lyndon
2018-03-02 16:33:39 +01:00
parent c4aab192f2
commit b8169ffe01
14 changed files with 225 additions and 206 deletions

View File

@@ -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);
}
}
}