Exemplo n.º 1
0
        public ActionResult Index()
        {
            IUrlFriendlyService <Category> service    = CategoryServiceFactory.Create();
            IEnumerable <Category>         categories = service.Get();

            return(View(categories));
        }
Exemplo n.º 2
0
 public CategoryController(IUrlFriendlyService <Category> _service) : base(_service)
 {
 }
Exemplo n.º 3
0
 public ManufacturerController(IUrlFriendlyService <Manufacturer> _service) : base(_service)
 {
 }
Exemplo n.º 4
0
 public ProductController(IUrlFriendlyService <Product> _service) : base(_service)
 {
 }
Exemplo n.º 5
0
 public UrlFriendlyController(IUrlFriendlyService <T> _service) : base(_service)
 {
 }
Exemplo n.º 6
0
 public CollectionController(IUrlFriendlyService <Collection> _service) : base(_service)
 {
 }