Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using Skybrud.Umbraco.Module.Extensions.Logging
- @using Lecoati.LeBlender.Extension.Models
- @inherits UmbracoViewPage<LeBlenderModel>
- @if (Model.Items.Any())
- {
- try
- {
- LeBlenderValue value = Model.Items.FirstOrDefault();
- if (value != null)
- {
- // Insert code and markup here
- }
- }
- catch (Exception ex)
- {
- ex.LogViewError(Request.Url.ToString());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement