Ejemplo n.º 1
0
 public UserRoleViewModel(string userName)
 {
     UserModel            = new UserModel(MembershipUserExtended.GetUser(userName, false));
     Roles                = System.Web.Security.Roles.GetAllRoles().ToList();
     WeeklyTimeTrackModel = TimeTrackManager.GetCurrentWeekClockInOutTime(userName);
 }
Ejemplo n.º 2
0
 public ActionResult Weekly(string id)
 {
     return(PartialView("_WeeklyTimeTrack", TimeTrackManager.GetCurrentWeekClockInOutTime(id ?? LoggedInUserName)));
 }