#pragma checksum "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6cbecb3d2678c84ff705ac643f48a6a54726c259"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Acceuil_Search), @"mvc.1.0.view", @"/Views/Acceuil/Search.cshtml")]
namespace AspNetCore
{
    #line hidden
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Threading.Tasks;
    using Microsoft.AspNetCore.Mvc;
    using Microsoft.AspNetCore.Mvc.Rendering;
    using Microsoft.AspNetCore.Mvc.ViewFeatures;
#nullable restore
#line 1 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\_ViewImports.cshtml"
using FamilyBudget;

#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\_ViewImports.cshtml"
using FamilyBudget.Models;

#line default
#line hidden
#nullable disable
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"6cbecb3d2678c84ff705ac643f48a6a54726c259", @"/Views/Acceuil/Search.cshtml")]
    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"a276b455e0f5c2b0df4e12e1a88619bd0c353790", @"/Views/_ViewImports.cshtml")]
    public class Views_Acceuil_Search : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<IEnumerable<FamilyBudget.Models.Depense>>
    {
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("rel", new global::Microsoft.AspNetCore.Html.HtmlString("stylesheet"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_1 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("href", new global::Microsoft.AspNetCore.Html.HtmlString("~/css/deps.css"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("method", "get", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_3 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Search", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
        #line hidden
        #pragma warning disable 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
        #pragma warning restore 0649
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner __tagHelperRunner = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner();
        #pragma warning disable 0169
        private string __tagHelperStringValueBuffer;
        #pragma warning restore 0169
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __backed__tagHelperScopeManager = null;
        private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager __tagHelperScopeManager
        {
            get
            {
                if (__backed__tagHelperScopeManager == null)
                {
                    __backed__tagHelperScopeManager = new global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperScopeManager(StartTagHelperWritingScope, EndTagHelperWritingScope);
                }
                return __backed__tagHelperScopeManager;
            }
        }
        private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper;
        private global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper;
        private global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper;
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            WriteLiteral("\r\n\r\n");
#nullable restore
#line 35 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
   
    ViewData["Title"] = "Recherche Dynamique"; 

#line default
#line hidden
#nullable disable
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6cbecb3d2678c84ff705ac643f48a6a54726c2594991", async() => {
            }
            );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n<h2>🔍 Recherche Dynamique</h2>\r\n\r\n<div class=\"container\">\r\n    <!-- Formulaire de recherche -->\r\n    ");
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6cbecb3d2678c84ff705ac643f48a6a54726c2596217", async() => {
                WriteLiteral("\r\n        <input type=\"text\"\r\n               name=\"searchQuery\"\r\n               id=\"searchInput\"\r\n               class=\"search-bar\"\r\n               placeholder=\"Rechercher une dépense...\"");
                BeginWriteAttribute("value", "\r\n               value=\"", 1698, "\"", 1746, 1);
#nullable restore
#line 49 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
WriteAttributeValue("", 1722, ViewData["searchQuery"], 1722, 24, false);

#line default
#line hidden
#nullable disable
                EndWriteAttribute();
                WriteLiteral(" />\r\n        <button type=\"submit\" class=\"btn btn-primary mt-2\">Rechercher</button>\r\n    ");
            }
            );
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            WriteLiteral("\r\n\r\n    <div class=\"card-container\">\r\n");
#nullable restore
#line 54 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
         if (Model.Any())
        {
            

#line default
#line hidden
#nullable disable
#nullable restore
#line 56 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
             foreach (var depense in Model)
            {

#line default
#line hidden
#nullable disable
            WriteLiteral("                <div class=\"card\">\r\n                    <h3>");
#nullable restore
#line 59 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
                   Write(depense.IdBudgetNavigation.Categorie);

#line default
#line hidden
#nullable disable
            WriteLiteral("</h3>\r\n                    <p><strong>💰 Montant:</strong> ");
#nullable restore
#line 60 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
                                               Write(depense.Montant);

#line default
#line hidden
#nullable disable
            WriteLiteral(" FCFA</p>\r\n                    <p><strong>📅 Date:</strong> ");
#nullable restore
#line 61 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
                                            Write(depense.DateDepense.ToString("dd/MM/yyyy"));

#line default
#line hidden
#nullable disable
            WriteLiteral("</p>\r\n                </div>\r\n");
#nullable restore
#line 63 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
            }

#line default
#line hidden
#nullable disable
#nullable restore
#line 63 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
             
        }
            else
            {

#line default
#line hidden
#nullable disable
            WriteLiteral("<p>Aucune dépense ne correspond à votre recherche.</p>");
#nullable restore
#line 67 "E:\Projet 2e annee\PROJET ASP.NET\CASEY\FamilyBudget\FamilyBudget\Views\Acceuil\Search.cshtml"
                                                      }

#line default
#line hidden
#nullable disable
            WriteLiteral("    </div>\r\n</div>");
        }
        #pragma warning restore 1998
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; }
        [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
        public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<IEnumerable<FamilyBudget.Models.Depense>> Html { get; private set; }
    }
}
#pragma warning restore 1591
