public async Task <PartialViewResult> Information(long?specId) { if (specId != null) { var it = await SpecFactory.GetOne(specId.Value); if (it != null) { return(PartialView(it)); } } return(PartialView(new TInfo { OwnerName = UserSecurity.OwnerText(), OwnerId = UserSecurity.EmployeeId })); }
public ViewResult Executive() { return(View(new ExecutiveScoreCardScreen(UserSecurity.EmployeeId, UserSecurity.OwnerText()))); }
public ViewResult Owner() { return(View(new OwnerScoreCardScreen(UserSecurity.EmployeeId, UserSecurity.OwnerText()))); }