asp.net mvc - Accessing Session inside Fluent Validation with MVC 5 -


is possible access session inside fluent validation that:

public class myclassvalidator : abstractvalidator<myclass> {     public myclassvalidator()     {                     custom(x =>         {             // need list in controller session          });     } } 

thanks


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -