You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for submitting the issue! In general you would be correct, but in this case it is intentional because we want to separate Kentico API from MVC project (and other libraries for that matter) as much as we can. For that reason we created an extension method using the KenticoImageUrl signature that you can find here: https://github.com/Kentico/training-kentico-k12/blob/master/MedioClinic/Extensions/UrlExtensions.cs
Basically you wrap Kentico code in your own so that you have more control over it, you don't 'pollute' your views with Kentico code/namespace which then results in better maintainability/extensibility and upgradability.
Brief bug description
I suspect a minor code error in
Views/Doctors/Detail.cshtml
. The following line...Repro steps
Expected behavior
I believe the correct code would be...
Test environment
The text was updated successfully, but these errors were encountered: