public static T Create <T>(this ISetupModel <T> setup) where T : class, new() { var res = new T(); setup.Setup(res); return(res); }
protected void SetupModel() { _modelSetup.Setup(Model); }