Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class UserProfileModels
- {
- [Key]
- public string UserProfileID { get; set; } // Same as User ID
- public string UserProfilePictureURL { get; set; }
- public string UserProfileCompanyID { get; set; } // Same as Company ID
- // IF UserProfileCompanyID is empty then EU is an individual and the following fields are available
- // Else Get the information from the CompanyProfile
- public string UserProfileStreet { get; set; }
- public string UserProfileTown { get; set; }
- public string UserProfileCountry { get; set; } // Allows us to decide on currency, TimeZone, State / County, Post Code / Zip etc
- public string UserProfileState { get; set; }
- public string UserProfilePostCode { get; set; }
- public string UserProfileDOB { get; set; } // Date Of Birth
- public string UserProfileSex { get; set; }
- public string UserProfileRole { get; set; }
- // IF Role is > "Client" then the following fields are to be used.
- public string UserProfileTelephoneNumber { get; set; }
- public string UserProfileMobileNumber { get; set; }
- public List<UserLanguageModels> UserLanguages { get; set; }
- public List<UserProfilePendingItems> UserPendingItems { get; set; }
- }
- public class UserProfilePendingItems
- {
- public string UserProfileID { get; set; }
- public string UserProfileDescription { get; set; }
- }
- public class UserLanguageModels
- {
- public string UserProfileID { get; set; }
- public string UserLanguage { get; set; }
- }
- <ul class="dropdown-menu extended tasks-bar">
- <div class="notify-arrow notify-arrow-green"></div>
- <li>
- <p class="green">@ViewBag.PendingMessages.Count()</p>
- </li>
- @foreach (CCSLABS.Controllers.Administration.AdministrationController.UserProfile Message in ViewBag.PendingMessages)
- {
- <li>
- <a href="index.html#">
- <div class="task-info">
- <div class="desc">@Message.UserPendingItems.</div>
- <div class="percent">40%</div>
- </div>
- <div class="progress progress-striped">
- <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
- <span class="sr-only">40% Complete (success)</span>
- </div>
- </div>
- </a>
- </li>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement