public KartaService(MojContext ctx, IMapper mapper) : base(ctx, mapper)
 {
 }
Exemplo n.º 2
0
 public OdrzaniCasDetaljController(MojContext db)
 {
     this.db = db;
 }
Exemplo n.º 3
0
 public RadnikController(MojContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public GradoviController(MojContext db)
 {
     _db = db;
 }
Exemplo n.º 5
0
 public TakmicenjeController(MojContext db)
 {
     this.db = db;
 }
Exemplo n.º 6
0
 public AutentifikacijaController(MojContext context)
 {
     ctx = context;
 }
 public MaturskiIspitService(MojContext context)
 {
     _context = context;
 }
Exemplo n.º 8
0
 public RezervacijeController(MojContext db)
 {
     _context = db;
 }
Exemplo n.º 9
0
 public ClanakController(MojContext db, IHostingEnvironment hostingEnvironment)
 {
     _db = db;
     _hostingEnvironment = hostingEnvironment;
 }
 public SesijaController(MojContext db)
 {
     _db = db;
 }
Exemplo n.º 11
0
 public AdminController(MojContext context)
 {
     _context = context;
 }
Exemplo n.º 12
0
 public DokumentController(MojContext context)
 {
     _context = context;
 }
 public NarudzbaStavkeController(MojContext context)
 {
     ctx = context;
 }
Exemplo n.º 14
0
 public KontaktController(MojContext context)
 {
     _context = context;
 }
Exemplo n.º 15
0
 public KorisnikPaketService(MojContext context, IMapper mapper) : base(context, mapper)
 {
 }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(120, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
#line 7 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"

            MojContext ctx      = new MojContext();
            Korisnik   k        = Context.GetLogiraniKorisnik();
            Zaposlenik menadzer = ctx.Zaposlenik.Where(m => m.KorisnikId == k.Id).First();

#line default
#line hidden
            BeginContext(304, 29, true);
            WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n");
            EndContext();
            BeginContext(333, 1325, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34278cbec3ca3523ebbb396adc523af7af925e1f7705", async() => {
                BeginContext(339, 121, true);
                WriteLiteral("\r\n    <meta charset=\"utf-8\" />\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n    <title>");
                EndContext();
                BeginContext(461, 17, false);
#line 19 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                Write(ViewData["Title"]);

#line default
#line hidden
                EndContext();
                BeginContext(478, 33, true);
                WriteLiteral(" - eNamjestaj.Web</title>\r\n\r\n    ");
                EndContext();
                BeginContext(511, 49, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "34278cbec3ca3523ebbb396adc523af7af925e1f8621", 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();
                EndContext();
                BeginContext(560, 261, true);
                WriteLiteral(@"
    <link href=""https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap4.min.css"" rel=""stylesheet"" crossorigin=""anonymous"" />
    <script src=""https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"" crossorigin=""anonymous""></script>

");
                EndContext();
                BeginContext(901, 4, true);
                WriteLiteral("    ");
                EndContext();
                BeginContext(905, 83, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "34278cbec3ca3523ebbb396adc523af7af925e1f10334", 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_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(988, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(996, 47, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "34278cbec3ca3523ebbb396adc523af7af925e1f11671", 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_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1043, 6, true);
                WriteLiteral("\r\n\r\n\r\n");
                EndContext();
                BeginContext(1244, 358, true);
                WriteLiteral(@"

    <script src=""https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js""></script>


    <script src=""https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.min.js""></script>
    <script src=""https://cdnjs.cloudflare.com/ajax/libs/jquery-validation-unobtrusive/3.2.11/jquery.validate.unobtrusive.min.js""></script>

");
                EndContext();
                BeginContext(1647, 4, true);
                WriteLiteral("\r\n\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1658, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            BeginContext(1662, 3869, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34278cbec3ca3523ebbb396adc523af7af925e1f14415", async() => {
                BeginContext(1690, 300, true);
                WriteLiteral(@"
    <nav class=""sb-topnav navbar navbar-expand navbar-dark bg-dark"">
        <a class=""navbar-brand"" href=""/ModulMenadzer/NaslovnaStrana/Index"">eNamještaj</a>
        <button class=""btn btn-link btn-sm order-1 order-lg-0"" id=""sidebarToggle"" href=""#""><i class=""fas fa-bars""></i></button>
        ");
                EndContext();
                BeginContext(1990, 92, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34278cbec3ca3523ebbb396adc523af7af925e1f15112", async() => {
                }
                                                                            );
                __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);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2082, 826, true);
                WriteLiteral(@"

        <!-- Navbar-->
        <ul class=""navbar-nav ml-auto ml-md-0"">
            <li class=""nav-item dropdown"">
                <a class=""nav-link"" id=""userDropdown"" href=""#"" role=""button"" data-toggle=""dropdown"" aria-haspopup=""true"" aria-expanded=""false""><i class=""fa fa-user""></i><i class=""fa fa-caret-down""></i></a>
                <div class=""dropdown-menu dropdown-menu-right"" aria-labelledby=""userDropdown"">
                    <a class=""dropdown-item"" href=""/Autentifikacija/Logout"">Logout</a>

                </div>
            </li>
        </ul>

    </nav>
    <div id=""layoutSidenav"">
        <div id=""layoutSidenav_nav"">
            <nav class=""sb-sidenav accordion sb-sidenav-dark"" id=""sidenavAccordion"">
                <div class=""sb-sidenav-menu"">
                    <div class=""nav"">
");
                EndContext();
#line 70 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                if (menadzer != null)
                {
#line default
#line hidden
                    BeginContext(2985, 37, true);
                    WriteLiteral("<div class=\"sb-sidenav-menu-heading\">");
                    EndContext();
                    BeginContext(3023, 12, false);
#line 71 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                    Write(menadzer.Ime);

#line default
#line hidden
                    EndContext();
                    BeginContext(3035, 1, true);
                    WriteLiteral(" ");
                    EndContext();
                    BeginContext(3037, 16, false);
#line 71 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                    Write(menadzer.Prezime);

#line default
#line hidden
                    EndContext();
                    BeginContext(3053, 7, true);
                    WriteLiteral(" </div>");
                    EndContext();
#line 71 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                }

#line default
#line hidden
                BeginContext(3064, 631, true);
                WriteLiteral(@"                            <a class=""nav-link"" href=""/ModulMenadzer/ProizvodiMenadzer/Index"">
                                <div class=""sb-nav-link-icon""><i class=""fas fa-tachometer-alt""></i></div>
                                Evidencija proizvoda
                            </a>
                            
                            <a class=""nav-link"" href=""/ModulMenadzer/AkcijskiKatalog/Index/"">
                                <div class=""sb-nav-link-icon""><i class=""fas fa-table""></i></div>
                                Evidencija kataloga
                            </a>
                            
");
                EndContext();
                BeginContext(3952, 58, true);
                WriteLiteral("\r\n                        </div>\r\n                </div>\r\n");
                EndContext();
#line 89 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                if (k != null)
                {
#line default
#line hidden
                    BeginContext(4062, 142, true);
                    WriteLiteral("                    <div class=\"sb-sidenav-footer\">\r\n\r\n                        <div class=\"small\">Logiran kao:</div>\r\n                        ");
                    EndContext();
                    BeginContext(4205, 15, false);
#line 94 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                    Write(k.KorisnickoIme);

#line default
#line hidden
                    EndContext();
                    BeginContext(4220, 32, true);
                    WriteLiteral("\r\n\r\n                    </div>\r\n");
                    EndContext();
#line 97 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                }

#line default
#line hidden
                BeginContext(4271, 146, true);
                WriteLiteral("            </nav>\r\n        </div>\r\n        <div id=\"layoutSidenav_content\">\r\n\r\n            <div class=\"container body-content\">\r\n                ");
                EndContext();
                BeginContext(4418, 12, false);
#line 103 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
                Write(RenderBody());

#line default
#line hidden
                EndContext();
                BeginContext(4430, 937, true);
                WriteLiteral(@"
                <hr />
                <footer class=""py-4 bg-light mt-auto "">
                    <div class=""container-fluid"">
                        <div class=""d-flex align-items-center justify-content-between small"">
                            <div class=""text-muted"">Copyright &copy; eNamještaj 2020</div>
                            <div>
                                <a href=""#"">Privacy Policy</a>
                                &middot;
                                <a href=""#"">Terms &amp; Conditions</a>
                            </div>
                        </div>
                    </div>
                </footer>
            </div>
        </div>
    </div>
    <script src=""https://code.jquery.com/jquery-3.5.1.min.js"" crossorigin=""anonymous""></script>
    <script src=""https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js"" crossorigin=""anonymous""></script>
    ");
                EndContext();
                BeginContext(5367, 39, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34278cbec3ca3523ebbb396adc523af7af925e1f22549", 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_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(5406, 118, true);
                WriteLiteral("\r\n    <script src=\"https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js\" crossorigin=\"anonymous\"></script>\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(5531, 10, true);
            WriteLiteral("\r\n\r\n\r\n\r\n\r\n");
            EndContext();
            BeginContext(5542, 41, false);
#line 129 "C:\Users\User\source\repos\eNamjestaj\eNamjestaj.Web\Areas\ModulMenadzer\Views\Shared\_Layout.cshtml"
            Write(RenderSection("Scripts", required: false));

#line default
#line hidden
            EndContext();
            BeginContext(5583, 13, true);
            WriteLiteral("\r\n</html>\r\n\r\n");
            EndContext();
        }
Exemplo n.º 17
0
 public TokStudijaController(MojContext ctx)
 {
     this.ctx = ctx;
 }
Exemplo n.º 18
0
 public UputnicaController(MojContext db)
 {
     _context = db;
 }
 public PopravniIspitController(MojContext db)
 {
     this.db = db;
 }
Exemplo n.º 20
0
 public PodaciController(MojContext db)
 {
     _context = db;
 }
Exemplo n.º 21
0
 public OdjeljenjeController(MojContext db)
 {
     this.db = db;
 }
Exemplo n.º 22
0
 public AjaxStavkeController(MojContext db)
 {
     _context = db;
 }
 public OdrzaniCasService(MojContext dbContext)
 {
     _dbContext = dbContext;
 }
Exemplo n.º 24
0
 public KupciController(MojContext _ctx)
 {
     ctx = _ctx;
 }
Exemplo n.º 25
0
 public HomeController(MojContext context)
 {
     _context = context;
 }
Exemplo n.º 26
0
 public SobaNamjestajViewComponent(MojContext context)
 {
     db = context;
 }
Exemplo n.º 27
0
 public TakmicenjeController(MojContext mojContext)
 {
     _context = mojContext;
 }
Exemplo n.º 28
0
 public Recommender(MojContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Exemplo n.º 29
0
 public NovostiController(MojContext context)
 {
     _context = context;
 }
Exemplo n.º 30
0
 public FakturaController(MojContext db)
 {
     this.db = db;
 }