FooterOutside.cs 485 B

1234567891011121314151617181920
  1. using Microsoft.AspNetCore.Mvc;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Threading.Tasks;
  6. namespace LotteryWebApp.Components
  7. {
  8. public class FooterOutsideModel
  9. {
  10. }
  11. public class FooterOutside : ViewComponent
  12. {
  13. public async Task<IViewComponentResult> InvokeAsync(String url)
  14. {
  15. FooterOutsideModel model = new FooterOutsideModel();
  16. return View("FooterOutside", model);
  17. }
  18. }
  19. }