Commit 37503fa9 authored by hasan khaddour's avatar hasan khaddour

update views

parent ae1c806f
using ApplicationCore.Interfaces.IServices;
using ApplicationDomain.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
using WebPresentation.ViewModel.Identity;
namespace WebPresentation.Controllers
{
[Route("api/[controller]")]
[ApiController]
[AllowAnonymous]
public class AccessAPIController : BaseController
{
private readonly SignInManager<User> _signInManager;
private readonly IPatientService _patientSerivce;
public AccessAPIController(UserManager<User> userManager,
SignInManager<User> signInManager,
IPatientService patientService):base(userManager)
{
_signInManager = signInManager;
_patientSerivce = patientService;
}
[HttpPost("register")]
public async Task<IActionResult> Register([FromBody] RegisterationInputModel Input)
{
if (!ModelState.IsValid)
return BadRequest(ModelState);
var user = new User
{
NormalizedEmail = Input.Email,
FirstName = Input.FirstName,
LastName = Input.LastName,
Avatar = Input.Avatar,
UserName = Input.Email,
Email = Input.Email,
Patient = Input.Patient,
CreationTime = DateTime.Now,
};
var result = await _userManager.CreateAsync(user, Input.Password);
if (result.Succeeded)
{
await _signInManager.SignInAsync(user, isPersistent: false);
return Ok(new { message = "Registration successful" });
}
foreach (var error in result.Errors)
{
ModelState.AddModelError(string.Empty, error.Description);
}
return BadRequest(ModelState);
}
[HttpPost("login")]
public async Task<IActionResult> Login([FromBody] LoginInuptModel model)
{
if (!ModelState.IsValid)
return BadRequest(ModelState);
var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
if (result.Succeeded)
{
return Ok(new {message= "ok added " });
}
if (result.IsLockedOut)
{
return Forbid("User is locked out.");
}
else
{
ModelState.AddModelError(string.Empty, "Invalid login attempt.");
return Unauthorized(ModelState);
}
}
[HttpGet("log")]
public IActionResult i()
{
return Ok(new { message = "Logout successful" });
}
[HttpPost("logout")]
public async Task<IActionResult> Logout()
{
await _signInManager.SignOutAsync();
return Ok(new { message = "Logout successful" });
}
}
}
\ No newline at end of file
using ApplicationCore.DomainModel;
using ApplicationCore.Interfaces;
using ApplicationCore.Interfaces.IServices;
using ApplicationDomain.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebPresentation.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class CrudAPIController<TModel> : BaseController where TModel : DomainBase
{
protected readonly IService<TModel> _service;
public CrudAPIController(
IService<TModel> service,
UserManager<User> userManager)
: base(userManager)
{
_service = service;
}
public async virtual Task<IActionResult> GetAll()
{
IEnumerable<TModel> models = await _service.GetAll();
return Ok(models);
}
[HttpGet("{id}")]
public async Task<IActionResult> GetById(int id)
{
var model = await _service.GetDetails(id);
if (model == null)
{
return NotFound();
}
return Ok(model);
}
[HttpPost("update")]
public IActionResult Update(int id, TModel model )
{
if (id != model.Id)
return Unauthorized();
var ModifiedModel = _service.Update(model);
return Ok(ModifiedModel);
}
[HttpPut("delete")]
public IActionResult Delete(int id)
{
_service.Delete(id);
return Ok(new { mesage ="deleted"});
}
[HttpPost("create")]
public IActionResult Create(TModel model)
{
_service.Create(model);
return Ok(new { mesage = "deleted" });
}
}
}
using ApplicationCore.DomainModel;
using ApplicationCore.Interfaces.IServices;
using ApplicationDomain.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebPresentation.Controllers
{
[Route("api/[controller]")]
[ApiController]
[AllowAnonymous]
public class MedicalStateApiController : CrudAPIController<MedicalStateModel>
{
private readonly IPatientService _patientService;
public MedicalStateApiController(
IMedicalStateService medicalstateService,
IPatientService patientService,
UserManager<User> userManager)
:base(medicalstateService, userManager)
{
_patientService = patientService;
}
public override async Task<IActionResult> GetAll()
{
string u = GetUserId();
var ps = await _patientService.GetAll();
var pId=ps.Where(p => p.User.Id == u).FirstOrDefault().Id;
var meds = ((IMedicalStateService)_service).GetAllPatientMedicalStates(pId);
return Ok(meds);
}
[HttpGet("GetMedicines")]
public async Task<JsonResult> GetMedicalStateMedicine(int id)
{
var r = await ((IMedicalStateService)_service).GetDetails(id);
return Json(r.Medicines);
}
}
}
using ApplicationCore.DomainModel;
using ApplicationCore.Interfaces.IServices;
using ApplicationDomain.Entities;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebPresentation.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class MedicineAPIController : CrudAPIController<MedicineModel>
{
public MedicineAPIController(
IMedicineService medicalstateService,
UserManager<User> userManager)
: base(medicalstateService, userManager)
{
}
[HttpPost("AddMedicineT")]
public JsonResult AddMedicineT(int id, int med)
{
try
{
((IMedicineService)_service).AddToMedicalState(new MedicalStateMedicineModel { MedicalStateId = id, MedicineId = med });
return Json("Added");
}
catch
{
return Json("faild");
}
}
[HttpPost("RemoveMedicineJ")]
public JsonResult RemoveMedicineJ(int id, int med)
{
((IMedicineService)_service).RemoveFromMedicalState(new MedicalStateMedicineModel { MedicalStateId = id, MedicineId = med });
return Json("Reomved");
}
}
}
using ApplicationCore.DomainModel;
using ApplicationCore.Interfaces;
using ApplicationDomain.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
......@@ -21,7 +22,6 @@ namespace WebPresentation.Controllers
_service = service;
}
public async virtual Task<IActionResult> Details(int? id)
{
......@@ -105,7 +105,7 @@ namespace WebPresentation.Controllers
return View("Error");
}
return RedirectToAction("Index");
return RedirectToAction("Details",new { id=tModel.Id});
}
return View(tModel);
}
......@@ -126,8 +126,9 @@ namespace WebPresentation.Controllers
{
_service.Create(viewModel);
return RedirectToAction(nameof(Index));
viewModel= _service.Create(viewModel);
return RedirectToAction("Details", new { id = viewModel.Id });
}
return View(viewModel);
}
......
......@@ -26,6 +26,7 @@ namespace WebPresentation.Controllers
}
}
}
......@@ -37,7 +37,7 @@ namespace WebPresentation.Controllers
var u = GetUserId();
var p = await _patientService.GetAll();
var pId= p.Where(p => p.User.Id == u).FirstOrDefault().Id;
var meds =((IMedicalStateService )_service).GetAllPatientMedicalStates(pId);
var meds =await ((IMedicalStateService )_service).GetAllPatientMedicalStates(pId);
return View(meds);
}
......@@ -92,11 +92,14 @@ namespace WebPresentation.Controllers
return RedirectToAction("Details", "MedicalState", new { Id = id });
}
#region json
[HttpGet]
public JsonResult GetMedicalStateMedicine(int id) {
var r = _medicalStateService.GetDetails(id).Result.Medicines;
return Json(r);
}
#endregion json
}
}
......@@ -14,7 +14,7 @@ using ApplicationCore.DomainModel;
namespace WebPresentation.Controllers
{
//[Authorize(Roles = "Admin")]
[Authorize(Roles = "Admin")]
public class MedicineController : CRUDController<MedicineModel>
{
private readonly IIngredientService _ingredientService;
......@@ -44,6 +44,30 @@ namespace WebPresentation.Controllers
return View(s);
}
[Authorize(Roles = "Admin")]
public IActionResult GetIngredints(int id)
{
var s = _ingredientService.GetAll().Result;
ViewBag.MedicineId = id;
return Ok(s);
}
[Authorize(Roles = "Admin")]
public IActionResult ReomveIngredints(int id ,int ing )
{
_ingredientService.RemoveFromMedicine(new MedicineIngredientModel {IngredientId=ing , MedicineId=id });
return Ok(new {message = "removed" });
}
[Authorize(Roles = "Admin")]
[HttpPost]
public IActionResult AddIngredintsT( MedicineIngredientModel medicineIngredientModel)
{
_ingredientService.AddToMedicine(medicineIngredientModel);
return Ok(new { message = "added"});
}
[Authorize(Roles = "Admin")]
[HttpPost]
......@@ -53,6 +77,7 @@ namespace WebPresentation.Controllers
return RedirectToAction("Details","Medicine", new { Id = med}) ;
}
#region json
[Authorize(Roles ="patient")]
public async Task<JsonResult> GetDetails(int? id)
......@@ -72,7 +97,9 @@ namespace WebPresentation.Controllers
}
[Authorize(Roles = "patient")]
[HttpGet]
public JsonResult GetMedicines()
{
var all = _medicineService.GetAll().Result;
......@@ -81,5 +108,33 @@ namespace WebPresentation.Controllers
}
[Authorize(Roles = "patient")]
[HttpPost]
public JsonResult AddMedicineT(int id, int med)
{
try
{
((IMedicineService)_service).AddToMedicalState(new MedicalStateMedicineModel { MedicalStateId = id, MedicineId = med });
return Json("Added");
}
catch
{
return Json("faild");
}
}
[Authorize(Roles = "patient")]
[HttpPost]
public JsonResult RemoveMedicineJ(int id, int med)
{
((IMedicineService)_service).RemoveFromMedicalState(new MedicalStateMedicineModel { MedicalStateId = id, MedicineId = med });
return Json("Reomved");
}
#endregion json
}
}
......@@ -34,6 +34,7 @@ namespace WebPresentation
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddScoped<DbContext, MedicDbContext>();
services.AddScoped<Mapper>();
......@@ -51,8 +52,14 @@ namespace WebPresentation
services.AddAutoMapper(typeof(ObjectMapper));
#region ADD Scoped Repository
services.AddScoped(typeof(IUnitOfWork<>),typeof(UnitOfWork<>));
services.AddScoped(typeof(IGenericRepository<>), typeof(GenericRepository<>));
services.AddScoped<IMedicalStateRepository,MedicalStateRepository>();
services.AddScoped<IMedicineRepository, MedicineRepository>();
services.AddScoped<IPatientRepository, PatientRepository>();
services.AddScoped<IIngredientRepository, IngredientRepository>();
#endregion ADD Scope dRepository
#region ADD Scoped Services
......@@ -109,8 +116,11 @@ namespace WebPresentation
services.AddSession();
services.AddControllersWithViews();
services.AddControllersWithViews().AddNewtonsoftJson(options =>
options.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore
);
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
......
......@@ -128,16 +128,17 @@
<section class="page-section mb-4 mt-4">
<div id="mod">
</div>
<div id="mod">
</div>
</section>
@section Scripts {
<script>
async function fetchMedicines() {
try {
debugger
let response = await fetch('/api/MedicineAPi/'); // Adjust the endpoint as needed
let response = await fetch('/Medicine/GetMedicines'); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
populateTable(medicines, 'medicines-table');
......@@ -153,7 +154,7 @@
try {
debugger
let response = await fetch(`/api/MedicalStateAPI/GetMedicines/?id=${id}`); // Adjust the endpoint as needed
let response = await fetch(`/MedicalState/GetMedicalStateMedicine/?id=${id}`); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
populateTable(medicines, 'Ingredients_');
......@@ -209,7 +210,9 @@
async function addMedicine(med) {
let id =@Model.Id
try {
let response = await fetch(`/api/MedicineAPI/AddMedicineT?id=${id}&med=${med}`, {
// showToast('Loading ... ', 'Adding medicine');
let response = await fetch(`/Medicine/AddMedicineT?id=${id}&med=${med}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
......@@ -234,7 +237,7 @@
let id =@Model.Id
try {
debugger
let response = await fetch(`/api/MedicineApi/${med}`, {
let response = await fetch(`/Medicine/GetDetails/${med}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
......@@ -258,7 +261,9 @@
async function ReomveMedicine(med) {
let id =@Model.Id
try {
let response = await fetch(`/api/MedicineAPI/RemoveMedicineJ?id=${id}&med=${med}`, {
// showToast('Loading ... ', 'Removing medicine');
let response = await fetch(`/Medicine/RemoveMedicineJ?id=${id}&med=${med}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
......@@ -274,42 +279,53 @@
showToast('Medicine Reomved successfully', 'Success');
} else {
console.error('Error:', response.statusText);
showToast('Failed to add medicine', 'Error');
showToast('Failed to remove medicine', 'Error');
}
} catch (error) {
console.error('Fetch error:', error);
showToast('Failed to add medicine', 'Error');
showToast('Failed to remove medicine', 'Error');
}
}
async function DeleteConfirm(id ) {
}
function showToast(message, title) {
let toast = document.createElement('div');
toast.className = 'toast';
toast.setAttribute('role', 'alert');
toast.setAttribute('aria-live', 'assertive');
toast.setAttribute('aria-atomic', 'true');
toast.innerHTML = `
<div class="toast-header">
<strong class="mr-auto">${title}</strong>
<small class="text-muted">just now</small>
<button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="toast-body">
${message}
</div>
`;
// const Modal = new bootstrap.Modal(document.getElementById('item'));
// Modal.close();
// Modal.hide();
// Modal.toggle();
//Modal.dispose();
const modalBody = document.querySelector('#mod');
modalBody.innerHTML = `
<div class="modal fade" id="item" tabindex="-1" aria-labelledby="label-" role="dialog"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header border-bottom-0">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">
<i class="fas fa-times"></i>
</span>
</button>
</div>
<div class="modal-body text-start p-3">
<h5 class="modal-title text-uppercase mb-5" id="exampleModalLabel">${title}</h5>
<p class=" mb-5"> ${message}</p>
document.getElementById('toast-container').appendChild(toast);
<hr class="mt-2 mb-4"
style="height: 0; background-color: transparent; opacity: .75; border-top: 2px dashed #9e9e9e;">
<div class="modal-footer d-flex justify-content-center border-top-0 py-4">
<button class="btn btn-info" class="close" data-dismiss="modal" aria-label="Close">Close</button>
</div>
</div>
</div>
</div> `;
// Show the modal
const medicineModal = new bootstrap.Modal(document.getElementById('item'));
medicineModal.show();
$(toast).toast({ delay: 3000 });
$(toast).toast('show');
$(toast).on('hidden.bs.toast', function () {
$(this).remove();
});
}
function showModal(message, result) {
debugger
......
......@@ -5,11 +5,12 @@
}
<section class="page-section">
<h3>Create New <a asp-action="Create" asp-controller="MedicalState">Create</a></h3>
@if (Model.Count() == 0)
{
<h2 class="text-center">You dont have any MedicalState</h2>
<img src="~/img/portfolio/noData.jpg" class="figure-img" />
<h3>Create New <a asp-action="Create" asp-controller="MedicalState">Create</a></h3>
}
else
......@@ -26,7 +27,7 @@
<div class="icon-box">
<div class="icon " style="color: #5e54b3"><i class="fas fa-heartbeat fa-8x "></i></div>
</div>
</div>
<h5>@item.StateName</h5>
<p>Prescriped At : @item.PrescriptionTime</p>
<a asp-action="Edit" asp-route-id="@item.Id">
......
......@@ -7,7 +7,7 @@
var a = 0;
}
<section class="page-section">
<div class="container py-5 h-100">
<div class="container h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col col-lg-8 mb-4 mb-lg-0">
<div class="card mb-3" style="border-radius: .5rem;">
......@@ -17,22 +17,15 @@
<img src="~/img/portfolio/@Model.Image"
alt="Avatar" class="img-fluid my-5" style="width: 80px;" />
<h5>@Model.TradeName</h5>
<p>For: @(Model.Category is null ? "":Model.Category.Name)</p>
<p>Category: @(Model.Category is null ? "":Model.Category.Name)</p>
<a asp-action="Edit" asp-route-id="@Model.Id">
<i class="far fa-edit mb-5"></i>
</a>
<a asp-action="Index">
<i class="far fa-backward">
</i>
Go Back
</a>
</div>
<div class="col-md-8">
<div class="card-body p-4">
<h6>Information</h6>
<h6>Information:</h6>
<hr class="mt-0 mb-4">
<div class="row pt-1">
<div class="col-6 mb-3">
......@@ -70,16 +63,20 @@
</div>
<div class="row pt-1">
<div class="col-6 mb-3">
<h6>Go To list </h6>
<a asp-action="Index">Back to List</a>
</div>
<div class="col-6 mb-3">
<h6>Add Ingredient </h6>
<a asp-action="AddIngredints" asp-controller="Medicine" asp-route-id="@Model.Id">Add </a>
<a asp-action="AddIngredints" asp-controller="Medicine" asp-route-id="@Model.Id">Add Ingredients </a>
</div>
<div class="col-6 mb-3">
<button class="btn btn-primary" onclick="fetchAll()">Get All Ingredients </button>
</div>
<div id="t">
</div>
</div>
</div>
......@@ -89,4 +86,277 @@
</div>
</div>
</div>
</section>
\ No newline at end of file
</section>
<section class="page-section mb-4 mt-4">
<div id="mod">
</div>
</section>
@section Scripts {
<script>
async function fetchAll() {
try {
debugger
let response = await fetch('/Medicine/GetIngredints'); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
// showModal('',medicines);
populateTable(medicines,'t')
} else {
console.error('Error:', response.statusText);
showToast(medicines, 'error');
}
} catch (error) {
console.error('Fetch error:', error);
}
}
async function updateMedicines() {
let id =@Model.Id
try {
debugger
let response = await fetch(`/MedicalState/GetMedicalStateMedicine/?id=${id}`); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
populateTable(medicines, 'Ingredients_');
} else {
console.error('Error:', response.statusText);
}
} catch (error) {
console.error('Fetch error:', error);
}
}
function populateTable(medicines,tableName) {
let tableBody = document.querySelector('#' + tableName);
tableBody.innerHTML = `
<table class="table">
<thead>
<tr>
<td>Name</td>
<td>Description</td>
<td>Manage</td>
</tr>
</thead ><tbody id="b"> </tbody></table>`;
tableBody = document.querySelector('#b');
medicines.forEach(medicine => {
let row = document.createElement('tr');
row.classList = "mb-3"
row.innerHTML = `
<td>${medicine.name}</td>
<td>${medicine.description}</td>
`;
row.innerHTML +=
(tableName != "t") ?
`
<td>
<button class="btn btn-danger" ondblclick="ReomveIngredient(${medicine.id})">Delete</button>
</td>
` :
`<td>
<button class="btn btn-primary" onclick="addIngredient( ${medicine.id})">Add</button>
</td>
`
tableBody.appendChild(row);
});
tableBody.innerHTML += ``;
}
async function addIngredient(med) {
let id =@Model.Id
try {
var r;
prompt("what is the ratio", r);
let response = await fetch(`/Medicine/AddIngredintsT`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ ingredientId: ing, medicineId: med ,ratio:r}) // Adjust the body as needed
});
if (response.ok) {
let result = await response.json();
updateMedicines();
showToast('Medicine added successfully', 'Success');
} else {
console.error('Error:', response.statusText);
showToast('Failed to add medicine', 'Error');
}
} catch (error) {
console.error('Fetch error:', error);
showToast('Failed to add medicine', 'Error');
}
}
async function DetailMedicine(med) {
let id =@Model.Id
try {
debugger
let response = await fetch(`/Medicine/GetDetails/${med}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
});
if (response.ok) {
let result = await response.json();
console.log(result)
showModal('Medicine Details',result );
} else {
console.error('Error:', response.statusText);
showToast('Failed to add medicine', 'Error');
}
} catch (error) {
console.error('Fetch error:', error);
showToast('Failed to add medicine', 'Error');
}
}
async function ReomveMedicine(med) {
let id =@Model.Id
try {
showToast('Loading ... ', 'Removing medicine');
let response = await fetch(`/Medicine/RemoveMedicineJ?id=${id}&med=${med}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ id: id, med: med }) // Adjust the body as needed
});
if (response.ok) {
let result = await response.json();
updateMedicines();
showToast('Medicine Reomved successfully', 'Success');
} else {
console.error('Error:', response.statusText);
showToast('Failed to remove medicine', 'Error');
}
} catch (error) {
console.error('Fetch error:', error);
showToast('Failed to remove medicine', 'Error');
}
}
async function DeleteConfirm(id ) {
}
function showToast(message, title) {
const modalBody = document.querySelector('#mod');
modalBody.innerHTML = `
<div class="modal fade" id="item" tabindex="-1" aria-labelledby="label-" role="dialog"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header border-bottom-0">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">
<i class="fas fa-times"></i>
</span>
</button>
</div>
<div class="modal-body text-start p-3">
<h5 class="modal-title text-uppercase mb-5" id="exampleModalLabel">${title}</h5>
<p class=" mb-5"> ${message}</p>
<hr class="mt-2 mb-4"
style="height: 0; background-color: transparent; opacity: .75; border-top: 2px dashed #9e9e9e;">
<div class="modal-footer d-flex justify-content-center border-top-0 py-4">
<button class="btn btn-info" class="close" data-dismiss="modal" aria-label="Close">Close</button>
</div>
</div>
</div>
</div> `;
// Show the modal
const medicineModal = new bootstrap.Modal(document.getElementById('item'));
medicineModal.show();
}
function showModal(message, result) {
var s = result
var t = 0;
var r= ''
for (i in s) {
console.log(i)
r+=`
<tr class=" mb-3">
<td>${s[i].name}</td>
<td>${s[i].description}</td>
<td>
<button class="btn btn-info" onclick="addIngredient(${s[i].id})">Add</button>
</td>
</tr>
`}
const modalBody = document.querySelector('#mod');
modalBody.innerHTML = `
<div class="modal fade portfolio-modal " id="item" tabindex="-1" aria-labelledby="label-" role="dialog"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header border-bottom-0">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">
<i class="fas fa-times"></i>
</span>
</button>
</div>
<div class="modal-body text-start p-3">
<h5 class="modal-title text-uppercase mb-5" id="exampleModalLabel">All Ingredients</h5>
<hr class="mt-2 mb-4"
style="height: 0; background-color: transparent; opacity: .75; border-top: 2px dashed #9e9e9e;">
<table class="table table-bordered">
<thead>
<tr>
<td>Name</td>
<td>Description</td>
<td>Manage</td>
</tr>
</thead>
<tbody>
${r}
</tbody>
</table>
<hr class="mt-2 mb-4"
style="height: 0; background-color: transparent; opacity: .75; border-top: 2px dashed #9e9e9e;">
</div>
<div class="modal-footer d-flex justify-content-center border-top-0 py-4">
<button class="btn btn-info" class="close" data-dismiss="modal" aria-label="Close">Close</button>
</div>
</div>
</div>
</div> `;
// Show the modal
const medicineModal = new bootstrap.Modal(document.getElementById('item'));
medicineModal.show();
}
</script>
}
\ No newline at end of file
......@@ -14,7 +14,14 @@
<title>DashBoard - @ViewData["Title"]</title>
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/style.min.css" rel="stylesheet" />
<link href="/css/styles.css" rel="stylesheet" />
<link href="/favicon.png" rel="icon">
<link href="/favicon.png" rel="icon">
<!-- Custom fonts for this theme -->
<link href="~/fonts/css/all.min.css" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
<link href="~/favicon.png" rel="icon" />
<!-- Theme CSS -->
<link href="~/css/freelancer.css" rel="stylesheet">
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
</head>
<body class="sb-nav-fixed">
......@@ -40,11 +47,11 @@
<li>
<a class="dropdown-item"
asp-action="Logout"
asp-controller="Access"
asp-controller="Access"
asp-route-returnUrl="/Home/Index">
Logout
</a>
</li>
</ul>
</li>
......@@ -102,17 +109,17 @@
<a class="nav-link" asp-controller="Medicine" asp-action="Index">ALL Medicines </a>
</nav>
</div>
<!-- Medical State Managment -->
<a class="nav-link collapsed" asp-action="Index" asp-controller="Medicine" data-bs-toggle="collapse" data-bs-target="#MPages" aria-expanded="false" aria-controls="collapsePages">
<div class="sb-nav-link-icon"><i class="fas fa-book-open"></i></div>
Medical States
Medical States
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
</a>
<div class="collapse" id="MPages" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
<nav class="sb-sidenav-menu-nested nav">
<a class="nav-link" >Add Medical State </a>
<a class="nav-link" >ALL Medical State </a>
<a class="nav-link">Add Medical State </a>
<a class="nav-link">ALL Medical State </a>
</nav>
</div>
......@@ -121,13 +128,12 @@
</div>
</div>
</div>
</div>
</nav>
</div>
<div id="layoutSidenav_content">
<main>
<div class="container-fluid px-4">
<h1 class="mt-4">Dashboard</h1>
<div class="container-fluid ">
@RenderBody()
......@@ -156,5 +162,13 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js" crossorigin="anonymous"></script>
@RenderSection("Scripts", required: false);
<!-- Bootstrap core JavaScript -->
<script src="~/js/jquery.min.js"></script>
<script src="~/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="~/js/jquery.easing.min.js"></script>
<!-- Custom scripts for this template -->
</body>
</html>
......@@ -7,6 +7,7 @@
<ItemGroup>
<PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.17" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.17">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
......
......@@ -38,6 +38,7 @@
"AutoMapper.Extensions.Microsoft.DependencyInjection": "5.0.1",
"Infrastructure": "1.0.0",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "5.0.17",
"Microsoft.AspNetCore.Mvc.NewtonsoftJson": "5.0.17",
"Microsoft.EntityFrameworkCore.Design": "5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer": "5.0.17",
"Microsoft.EntityFrameworkCore.Tools": "5.0.17",
......@@ -409,6 +410,37 @@
"lib/net5.0/Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll": {}
}
},
"Microsoft.AspNetCore.JsonPatch/5.0.17": {
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"Newtonsoft.Json": "12.0.2"
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll": {
"assemblyVersion": "5.0.17.0",
"fileVersion": "5.0.1722.21507"
}
},
"compile": {
"lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll": {}
}
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson/5.0.17": {
"dependencies": {
"Microsoft.AspNetCore.JsonPatch": "5.0.17",
"Newtonsoft.Json": "12.0.2",
"Newtonsoft.Json.Bson": "1.0.2"
},
"runtime": {
"lib/net5.0/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll": {
"assemblyVersion": "5.0.17.0",
"fileVersion": "5.0.1722.21507"
}
},
"compile": {
"lib/net5.0/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll": {}
}
},
"Microsoft.AspNetCore.Razor/2.2.0": {
"dependencies": {
"Microsoft.AspNetCore.Html.Abstractions": "2.2.0"
......@@ -957,7 +989,7 @@
"Microsoft.IdentityModel.JsonWebTokens/5.6.0": {
"dependencies": {
"Microsoft.IdentityModel.Tokens": "5.6.0",
"Newtonsoft.Json": "11.0.2"
"Newtonsoft.Json": "12.0.2"
},
"runtime": {
"lib/netstandard2.0/Microsoft.IdentityModel.JsonWebTokens.dll": {
......@@ -998,7 +1030,7 @@
"Microsoft.IdentityModel.Protocols.OpenIdConnect/5.6.0": {
"dependencies": {
"Microsoft.IdentityModel.Protocols": "5.6.0",
"Newtonsoft.Json": "11.0.2",
"Newtonsoft.Json": "12.0.2",
"System.IdentityModel.Tokens.Jwt": "5.6.0"
},
"runtime": {
......@@ -1014,7 +1046,7 @@
"Microsoft.IdentityModel.Tokens/5.6.0": {
"dependencies": {
"Microsoft.IdentityModel.Logging": "5.6.0",
"Newtonsoft.Json": "11.0.2",
"Newtonsoft.Json": "12.0.2",
"System.Security.Cryptography.Cng": "4.5.0"
},
"runtime": {
......@@ -1046,7 +1078,7 @@
},
"Microsoft.VisualStudio.Web.CodeGeneration.Contracts/5.0.2": {
"dependencies": {
"Newtonsoft.Json": "11.0.2",
"Newtonsoft.Json": "12.0.2",
"System.Collections.Immutable": "5.0.0"
},
"runtime": {
......@@ -1063,7 +1095,7 @@
"dependencies": {
"Microsoft.Extensions.DependencyInjection": "5.0.2",
"Microsoft.VisualStudio.Web.CodeGeneration.Templating": "5.0.2",
"Newtonsoft.Json": "11.0.2"
"Newtonsoft.Json": "12.0.2"
},
"runtime": {
"lib/net5.0/Microsoft.VisualStudio.Web.CodeGeneration.Core.dll": {
......@@ -1137,7 +1169,7 @@
"dependencies": {
"Microsoft.CodeAnalysis.CSharp.Workspaces": "3.8.0",
"Microsoft.VisualStudio.Web.CodeGeneration.Contracts": "5.0.2",
"Newtonsoft.Json": "11.0.2"
"Newtonsoft.Json": "12.0.2"
},
"runtime": {
"lib/net5.0/Microsoft.VisualStudio.Web.CodeGeneration.Utils.dll": {
......@@ -1174,17 +1206,31 @@
"Microsoft.NETCore.Platforms": "3.1.0"
}
},
"Newtonsoft.Json/11.0.2": {
"Newtonsoft.Json/12.0.2": {
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {
"assemblyVersion": "11.0.0.0",
"fileVersion": "11.0.2.21924"
"assemblyVersion": "12.0.0.0",
"fileVersion": "12.0.2.23222"
}
},
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
},
"Newtonsoft.Json.Bson/1.0.2": {
"dependencies": {
"Newtonsoft.Json": "12.0.2"
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.Bson.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.2.22727"
}
},
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.Bson.dll": {}
}
},
"runtime.native.System/4.3.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "3.1.0",
......@@ -1460,7 +1506,7 @@
"dependencies": {
"Microsoft.IdentityModel.JsonWebTokens": "5.6.0",
"Microsoft.IdentityModel.Tokens": "5.6.0",
"Newtonsoft.Json": "11.0.2"
"Newtonsoft.Json": "12.0.2"
},
"runtime": {
"lib/netstandard2.0/System.IdentityModel.Tokens.Jwt.dll": {
......@@ -3663,6 +3709,20 @@
"path": "microsoft.aspnetcore.identity.entityframeworkcore/5.0.17",
"hashPath": "microsoft.aspnetcore.identity.entityframeworkcore.5.0.17.nupkg.sha512"
},
"Microsoft.AspNetCore.JsonPatch/5.0.17": {
"type": "package",
"serviceable": true,
"sha512": "sha512-7frxJ2Jda4O1cMEP8fJmXApo1+SH1Uh338lcBzOuBOVZ9vpidfEjvUUVDq6sqxqIYqv2d80iQO+4CZBuClS52g==",
"path": "microsoft.aspnetcore.jsonpatch/5.0.17",
"hashPath": "microsoft.aspnetcore.jsonpatch.5.0.17.nupkg.sha512"
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson/5.0.17": {
"type": "package",
"serviceable": true,
"sha512": "sha512-E6Y7BD5pnoP/H4j4tBE7Hyi06+X7YfXKQnq2okwQfo8l4dfKL+EIxZ2ToaQ+XnXXqwwxZ7ggbyp17fJeb5uxJg==",
"path": "microsoft.aspnetcore.mvc.newtonsoftjson/5.0.17",
"hashPath": "microsoft.aspnetcore.mvc.newtonsoftjson.5.0.17.nupkg.sha512"
},
"Microsoft.AspNetCore.Razor/2.2.0": {
"type": "package",
"serviceable": true,
......@@ -4006,12 +4066,19 @@
"path": "microsoft.win32.systemevents/4.7.0",
"hashPath": "microsoft.win32.systemevents.4.7.0.nupkg.sha512"
},
"Newtonsoft.Json/11.0.2": {
"Newtonsoft.Json/12.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==",
"path": "newtonsoft.json/12.0.2",
"hashPath": "newtonsoft.json.12.0.2.nupkg.sha512"
},
"Newtonsoft.Json.Bson/1.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-IvJe1pj7JHEsP8B8J8DwlMEx8UInrs/x+9oVY+oCD13jpLu4JbJU2WCIsMRn5C4yW9+DgkaO8uiVE5VHKjpmdQ==",
"path": "newtonsoft.json/11.0.2",
"hashPath": "newtonsoft.json.11.0.2.nupkg.sha512"
"sha512": "sha512-QYFyxhaABwmq3p/21VrZNYvCg3DaEoN/wUuw5nmfAf0X3HLjgupwhkEWdgfb9nvGAUIv3osmZoD3kKl4jxEmYQ==",
"path": "newtonsoft.json.bson/1.0.2",
"hashPath": "newtonsoft.json.bson.1.0.2.nupkg.sha512"
},
"runtime.native.System/4.3.0": {
"type": "package",
......
#pragma checksum "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "a0b8f91359c054a5cd6b2f5dcc36f9d31b4e146f"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Medicine_Details), @"mvc.1.0.view", @"/Views/Medicine/Details.cshtml")]
namespace AspNetCore
{
#line hidden
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 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using WebPresentation;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using WebPresentation.Models;
#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using ApplicationCore.DomainModel;
#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using ApplicationDomain.Entities;
#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using System;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"a0b8f91359c054a5cd6b2f5dcc36f9d31b4e146f", @"/Views/Medicine/Details.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"00a5efe30164a0b2b148ed0b3ef352c1f6e80ba1", @"/Views/_ViewImports.cshtml")]
public class Views_Medicine_Details : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MedicineModel>
{
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("alt", new global::Microsoft.AspNetCore.Html.HtmlString("Avatar"), 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("class", new global::Microsoft.AspNetCore.Html.HtmlString("img-fluid my-5"), 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("style", new global::Microsoft.AspNetCore.Html.HtmlString("width: 80px;"), 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", "Edit", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Index", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "AddIngredints", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Medicine", 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.AnchorTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper;
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
WriteLiteral("\r\n");
#nullable restore
#line 3 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
ViewData["Title"] = "Medicine Details ";
Layout = "_AdminLayout";
var a = 0;
#line default
#line hidden
#nullable disable
WriteLiteral(@"<section class=""page-section"">
<div class=""container py-5 h-100"">
<div class=""row d-flex justify-content-center align-items-center h-100"">
<div class=""col col-lg-8 mb-4 mb-lg-0"">
<div class=""card mb-3"" style=""border-radius: .5rem;"">
<div class=""row g-0"">
<div class=""col-md-4 gradient-custom text-center text-black""
style=""border-top-left-radius: .5rem; border-bottom-left-radius: .5rem;"">
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a0b8f91359c054a5cd6b2f5dcc36f9d31b4e146f6864", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
AddHtmlAttributeValue("", 674, "~/img/portfolio/", 674, 16, true);
#nullable restore
#line 17 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
AddHtmlAttributeValue("", 690, Model.Image, 690, 12, false);
#line default
#line hidden
#nullable disable
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
__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();
WriteLiteral("\r\n <h5>");
#nullable restore
#line 19 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.TradeName);
#line default
#line hidden
#nullable disable
WriteLiteral("</h5>\r\n <p>For: ");
#nullable restore
#line 20 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Category is null ? "":Model.Category.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</p>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a0b8f91359c054a5cd6b2f5dcc36f9d31b4e146f9220", async() => {
WriteLiteral("\r\n <i class=\"far fa-edit mb-5\"></i>\r\n ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
{
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
}
BeginWriteTagHelperAttribute();
#nullable restore
#line 21 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
WriteLiteral(Model.Id);
#line default
#line hidden
#nullable disable
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a0b8f91359c054a5cd6b2f5dcc36f9d31b4e146f11505", async() => {
WriteLiteral("\r\n\r\n <i class=\"far fa-backward\">\r\n\r\n </i>\r\n Go Back\r\n ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral(@"
</div>
<div class=""col-md-8"">
<div class=""card-body p-4"">
<h6>Information</h6>
<hr class=""mt-0 mb-4"">
<div class=""row pt-1"">
<div class=""col-6 mb-3"">
<h6>Description</h6>
<p class=""text-muted"">");
#nullable restore
#line 40 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Description);
#line default
#line hidden
#nullable disable
WriteLiteral("</p>\r\n </div>\r\n <div class=\"col-6 mb-3\">\r\n <h6>Medicine Type:");
#nullable restore
#line 43 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.MedicineType?.TypeName);
#line default
#line hidden
#nullable disable
WriteLiteral("</h6>\r\n <p class=\"text-muted\">Dosage : ");
#nullable restore
#line 44 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Dosage);
#line default
#line hidden
#nullable disable
WriteLiteral("</p>\r\n <p class=\"text-muted\">Price : ");
#nullable restore
#line 45 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Price);
#line default
#line hidden
#nullable disable
WriteLiteral(@"</p>
</div>
</div>
<h6>Ingredients : </h6>
<hr class=""mt-0 mb-4"">
<div class=""row pt-1"">
<table class=""table table-bordered"">
<thead>
<tr>
<td>#</td>
<td>Name</td>
<td>Description</td>
</tr>
</thead>
<tbody>
");
#nullable restore
#line 60 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
foreach (var ing in Model.Ingredients)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <tr class=\" mb-3\">\r\n <td>");
#nullable restore
#line 63 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(a+=1);
#line default
#line hidden
#nullable disable
WriteLiteral("</td>\r\n <td>");
#nullable restore
#line 64 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(ing.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</td>\r\n <td>");
#nullable restore
#line 65 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(ing.Description);
#line default
#line hidden
#nullable disable
WriteLiteral("</td>\r\n </tr>\r\n");
#nullable restore
#line 67 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral(@" </tbody>
</table>
</div>
<div class=""row pt-1"">
<div class=""col-6 mb-3"">
<h6>Go To list </h6>
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a0b8f91359c054a5cd6b2f5dcc36f9d31b4e146f17572", async() => {
WriteLiteral("Back to List");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n\r\n </div>\r\n <div class=\"col-6 mb-3\">\r\n <h6>Add Ingredient </h6>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a0b8f91359c054a5cd6b2f5dcc36f9d31b4e146f18958", async() => {
WriteLiteral("Add ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
{
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
}
BeginWriteTagHelperAttribute();
#nullable restore
#line 79 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
WriteLiteral(Model.Id);
#line default
#line hidden
#nullable disable
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral(@"
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>");
}
#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<MedicineModel> Html { get; private set; }
}
}
#pragma warning restore 1591
#pragma checksum "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0f715de657dda20a32548f34631b9d9ede67ca8a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Medicine_Details), @"mvc.1.0.view", @"/Views/Medicine/Details.cshtml")]
namespace AspNetCore
{
#line hidden
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 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using WebPresentation;
#line default
#line hidden
#nullable disable
#nullable restore
#line 2 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using WebPresentation.Models;
#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using ApplicationCore.DomainModel;
#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using ApplicationDomain.Entities;
#line default
#line hidden
#nullable disable
#nullable restore
#line 6 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\_ViewImports.cshtml"
using System;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"0f715de657dda20a32548f34631b9d9ede67ca8a", @"/Views/Medicine/Details.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"00a5efe30164a0b2b148ed0b3ef352c1f6e80ba1", @"/Views/_ViewImports.cshtml")]
public class Views_Medicine_Details : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<MedicineModel>
{
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("alt", new global::Microsoft.AspNetCore.Html.HtmlString("Avatar"), 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("class", new global::Microsoft.AspNetCore.Html.HtmlString("img-fluid my-5"), 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("style", new global::Microsoft.AspNetCore.Html.HtmlString("width: 80px;"), 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", "Edit", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Index", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "AddIngredints", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Medicine", 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.AnchorTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper;
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
WriteLiteral("\r\n");
#nullable restore
#line 3 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
ViewData["Title"] = "Medicine Details ";
Layout = "_AdminLayout";
var a = 0;
#line default
#line hidden
#nullable disable
WriteLiteral(@"<section class=""page-section"">
<div class=""container h-100"">
<div class=""row d-flex justify-content-center align-items-center h-100"">
<div class=""col col-lg-8 mb-4 mb-lg-0"">
<div class=""card mb-3"" style=""border-radius: .5rem;"">
<div class=""row g-0"">
<div class=""col-md-4 gradient-custom text-center text-black""
style=""border-top-left-radius: .5rem; border-bottom-left-radius: .5rem;"">
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0f715de657dda20a32548f34631b9d9ede67ca8a6860", async() => {
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
AddHtmlAttributeValue("", 670, "~/img/portfolio/", 670, 16, true);
#nullable restore
#line 17 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
AddHtmlAttributeValue("", 686, Model.Image, 686, 12, false);
#line default
#line hidden
#nullable disable
EndAddHtmlAttributeValues(__tagHelperExecutionContext);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
__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();
WriteLiteral("\r\n <h5>");
#nullable restore
#line 19 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.TradeName);
#line default
#line hidden
#nullable disable
WriteLiteral("</h5>\r\n <p>Category: ");
#nullable restore
#line 20 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Category is null ? "":Model.Category.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</p>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0f715de657dda20a32548f34631b9d9ede67ca8a9226", async() => {
WriteLiteral("\r\n <i class=\"far fa-edit mb-5\"></i>\r\n ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
{
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
}
BeginWriteTagHelperAttribute();
#nullable restore
#line 21 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
WriteLiteral(Model.Id);
#line default
#line hidden
#nullable disable
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral(@"
</div>
<div class=""col-md-8"">
<div class=""card-body p-4"">
<h6>Information:</h6>
<hr class=""mt-0 mb-4"">
<div class=""row pt-1"">
<div class=""col-6 mb-3"">
<h6>Description</h6>
<p class=""text-muted"">");
#nullable restore
#line 33 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Description);
#line default
#line hidden
#nullable disable
WriteLiteral("</p>\r\n </div>\r\n <div class=\"col-6 mb-3\">\r\n <h6>Medicine Type:");
#nullable restore
#line 36 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.MedicineType?.TypeName);
#line default
#line hidden
#nullable disable
WriteLiteral("</h6>\r\n <p class=\"text-muted\">Dosage : ");
#nullable restore
#line 37 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Dosage);
#line default
#line hidden
#nullable disable
WriteLiteral("</p>\r\n <p class=\"text-muted\">Price : ");
#nullable restore
#line 38 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Price);
#line default
#line hidden
#nullable disable
WriteLiteral(@"</p>
</div>
</div>
<h6>Ingredients : </h6>
<hr class=""mt-0 mb-4"">
<div class=""row pt-1"">
<table class=""table table-bordered"">
<thead>
<tr>
<td>#</td>
<td>Name</td>
<td>Description</td>
</tr>
</thead>
<tbody>
");
#nullable restore
#line 53 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
foreach (var ing in Model.Ingredients)
{
#line default
#line hidden
#nullable disable
WriteLiteral(" <tr class=\" mb-3\">\r\n <td>");
#nullable restore
#line 56 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(a+=1);
#line default
#line hidden
#nullable disable
WriteLiteral("</td>\r\n <td>");
#nullable restore
#line 57 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(ing.Name);
#line default
#line hidden
#nullable disable
WriteLiteral("</td>\r\n <td>");
#nullable restore
#line 58 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(ing.Description);
#line default
#line hidden
#nullable disable
WriteLiteral("</td>\r\n </tr>\r\n");
#nullable restore
#line 60 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
}
#line default
#line hidden
#nullable disable
WriteLiteral(@" </tbody>
</table>
</div>
<div class=""row pt-1"">
<div class=""col-6 mb-3"">
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0f715de657dda20a32548f34631b9d9ede67ca8a16149", async() => {
WriteLiteral("Back to List");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n\r\n </div>\r\n <div class=\"col-6 mb-3\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0f715de657dda20a32548f34631b9d9ede67ca8a17467", async() => {
WriteLiteral("Add Ingredients ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
{
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
}
BeginWriteTagHelperAttribute();
#nullable restore
#line 70 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
WriteLiteral(Model.Id);
#line default
#line hidden
#nullable disable
__tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer;
__tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral(@"
</div>
<div class=""col-6 mb-3"">
<button class=""btn btn-primary"" onclick=""fetchAll()"">Get All Ingredients </button>
</div>
<div id=""t"">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class=""page-section mb-4 mt-4"">
<div id=""mod"">
</div>
</section>
");
DefineSection("Scripts", async() => {
WriteLiteral(@"
<script>
async function fetchAll() {
try {
debugger
let response = await fetch('/Medicine/GetIngredints'); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
// showModal('',medicines);
populateTable(medicines,'t')
} else {
console.error('Error:', response.statusText);
showToast(medicines, 'error');
}
} catch (error) {
console.error('Fetch error:', error);
}
}
async function updateMedicines() {
let id =");
#nullable restore
#line 116 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Id);
#line default
#line hidden
#nullable disable
WriteLiteral(@"
try {
debugger
let response = await fetch(`/MedicalState/GetMedicalStateMedicine/?id=${id}`); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
populateTable(medicines, 'Ingredients_');
} else {
console.error('Error:', response.statusText);
}
} catch (error) {
console.error('Fetch error:', error);
}
}
function populateTable(medicines,tableName) {
let tableBody = document.querySelector('#' + tableName);
tableBody.innerHTML = `
<table class=""table"">
<thead>
<tr>
<td>Name</td>
<td>Description</td>
<td>Manage</td>
</tr>
</thead ><tbody id=""b""> </tbody></table>`;
tableB");
WriteLiteral(@"ody = document.querySelector('#b');
medicines.forEach(medicine => {
let row = document.createElement('tr');
row.classList = ""mb-3""
row.innerHTML = `
<td>${medicine.name}</td>
<td>${medicine.description}</td>
`;
row.innerHTML +=
(tableName != ""t"") ?
`
<td>
<button class=""btn btn-danger"" ondblclick=""ReomveIngredient(${medicine.id})"">Delete</button>
</td>
` :
`<td>
<button class=""btn btn-primary"" onclick=""addIngredient( ${medicine.id})"">Add</button>
</td>
`
tableBody.appendChild(row);
});
tableBody.innerHTML += ``;
}
async function addIngredient(med) {
let id =");
#nullable restore
#line 179 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Id);
#line default
#line hidden
#nullable disable
WriteLiteral(@"
try {
var r;
prompt(""what is the ratio"", r);
let response = await fetch(`/Medicine/AddIngredintsT`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ ingredientId: ing, medicineId: med ,ratio:r}) // Adjust the body as needed
});
if (response.ok) {
let result = await response.json();
updateMedicines();
showToast('Medicine added successfully', 'Success');
} else {
console.error('Error:', response.statusText);
showToast('Failed to add medicine', 'Error');
}
} catch (error) {
console.error('Fetch error:', error);
showToast('Failed to add medicine', 'Error');
}
}
");
WriteLiteral(" async function DetailMedicine(med) {\r\n let id =");
#nullable restore
#line 205 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Id);
#line default
#line hidden
#nullable disable
WriteLiteral(@"
try {
debugger
let response = await fetch(`/Medicine/GetDetails/${med}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
});
if (response.ok) {
let result = await response.json();
console.log(result)
showModal('Medicine Details',result );
} else {
console.error('Error:', response.statusText);
showToast('Failed to add medicine', 'Error');
}
} catch (error) {
console.error('Fetch error:', error);
showToast('Failed to add medicine', 'Error');
}
}
async function ReomveMedicine(med) {
let id =");
#nullable restore
#line 230 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Medicine\Details.cshtml"
Write(Model.Id);
#line default
#line hidden
#nullable disable
WriteLiteral(@"
try {
showToast('Loading ... ', 'Removing medicine');
let response = await fetch(`/Medicine/RemoveMedicineJ?id=${id}&med=${med}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ id: id, med: med }) // Adjust the body as needed
});
if (response.ok) {
let result = await response.json();
updateMedicines();
showToast('Medicine Reomved successfully', 'Success');
} else {
console.error('Error:', response.statusText);
showToast('Failed to remove medicine', 'Error');
}
} catch (error) {
console.error('Fetch error:', error);
showToast('Failed to remove medicine', 'Error');
}
} ");
WriteLiteral(@"
async function DeleteConfirm(id ) {
}
function showToast(message, title) {
const modalBody = document.querySelector('#mod');
modalBody.innerHTML = `
<div class=""modal fade"" id=""item"" tabindex=""-1"" aria-labelledby=""label-"" role=""dialog""
aria-hidden=""true"">
<div class=""modal-dialog"">
<div class=""modal-content"">
<div class=""modal-header border-bottom-0"">
<button type=""button"" class=""close"" data-dismiss=""modal"" aria-label=""Close"">
<span aria-hidden=""true"">
<i class=""fas fa-times""></i>
</span>
</button>
</div>
<div class=""modal-body text-start p-3"">
<h5 class=""modal-title text-uppercase mb-5"" id=""exampleModalLabel"">${title}</h5>
<p class="" mb-5"">");
WriteLiteral(@" ${message}</p>
<hr class=""mt-2 mb-4""
style=""height: 0; background-color: transparent; opacity: .75; border-top: 2px dashed #9e9e9e;"">
<div class=""modal-footer d-flex justify-content-center border-top-0 py-4"">
<button class=""btn btn-info"" class=""close"" data-dismiss=""modal"" aria-label=""Close"">Close</button>
</div>
</div>
</div>
</div> `;
// Show the modal
const medicineModal = new bootstrap.Modal(document.getElementById('item'));
medicineModal.show();
}
function showModal(message, result) {
var s = result
var t = 0;
var r= ''
for (i in s) {
console.log(i)
r+=`
<tr class="" mb-3"">
<td>${s[i].name}</td>
");
WriteLiteral(@" <td>${s[i].description}</td>
<td>
<button class=""btn btn-info"" onclick=""addIngredient(${s[i].id})"">Add</button>
</td>
</tr>
`}
const modalBody = document.querySelector('#mod');
modalBody.innerHTML = `
<div class=""modal fade portfolio-modal "" id=""item"" tabindex=""-1"" aria-labelledby=""label-"" role=""dialog""
aria-hidden=""true"">
<div class=""modal-dialog"">
<div class=""modal-content"">
<div class=""modal-header border-bottom-0"">
<button type=""button"" class=""close"" data-dismiss=""modal"" aria-label=""Close"">
<span aria-hidden=""true"">
<i class=""fas fa-times""></i>
</span>
</button>
</di");
WriteLiteral(@"v>
<div class=""modal-body text-start p-3"">
<h5 class=""modal-title text-uppercase mb-5"" id=""exampleModalLabel"">All Ingredients</h5>
<hr class=""mt-2 mb-4""
style=""height: 0; background-color: transparent; opacity: .75; border-top: 2px dashed #9e9e9e;"">
<table class=""table table-bordered"">
<thead>
<tr>
<td>Name</td>
<td>Description</td>
<td>Manage</td>
</tr>
</thead>
<tbody>
${r}
</tbody>
</table>
<hr class=""mt-2 mb-4""
");
WriteLiteral(@" style=""height: 0; background-color: transparent; opacity: .75; border-top: 2px dashed #9e9e9e;"">
</div>
<div class=""modal-footer d-flex justify-content-center border-top-0 py-4"">
<button class=""btn btn-info"" class=""close"" data-dismiss=""modal"" aria-label=""Close"">Close</button>
</div>
</div>
</div>
</div> `;
// Show the modal
const medicineModal = new bootstrap.Modal(document.getElementById('item'));
medicineModal.show();
}
</script>
");
}
);
}
#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<MedicineModel> Html { get; private set; }
}
}
#pragma warning restore 1591
......
#pragma checksum "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5f77780778a519652c243e40589fe292e5894f0c"
#pragma checksum "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c09b0a6344d2389f1bf42ca0103f2b1439303ee6"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Shared__AdminLayout), @"mvc.1.0.view", @"/Views/Shared/_AdminLayout.cshtml")]
......@@ -53,33 +53,42 @@ using Microsoft.AspNetCore.Identity;
#line default
#line hidden
#nullable disable
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"5f77780778a519652c243e40589fe292e5894f0c", @"/Views/Shared/_AdminLayout.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"c09b0a6344d2389f1bf42ca0103f2b1439303ee6", @"/Views/Shared/_AdminLayout.cshtml")]
[global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"00a5efe30164a0b2b148ed0b3ef352c1f6e80ba1", @"/Views/_ViewImports.cshtml")]
public class Views_Shared__AdminLayout : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
{
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0"), 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("class", new global::Microsoft.AspNetCore.Html.HtmlString("dropdown-item"), 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("asp-action", "Logout", 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-controller", "Access", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-route-returnUrl", "/Home/Index", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("nav-link"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Index", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("nav-link collapsed"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_8 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Inedx", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_9 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Patient", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_10 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-toggle", new global::Microsoft.AspNetCore.Html.HtmlString("collapse"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_11 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#collapseLayouts"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_12 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("aria-expanded", new global::Microsoft.AspNetCore.Html.HtmlString("false"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_13 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("aria-controls", new global::Microsoft.AspNetCore.Html.HtmlString("collapseLayouts"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_14 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Create", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_15 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Ingredients", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_16 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#ing"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_17 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Ingredient", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_18 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Medicine", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_19 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#cPages"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_20 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("aria-controls", new global::Microsoft.AspNetCore.Html.HtmlString("collapsePages"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_21 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#MPages"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_22 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("sb-nav-fixed"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_0 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("href", new global::Microsoft.AspNetCore.Html.HtmlString("~/fonts/css/all.min.css"), 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("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_2 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("type", new global::Microsoft.AspNetCore.Html.HtmlString("text/css"), 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("href", new global::Microsoft.AspNetCore.Html.HtmlString("~/favicon.png"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_4 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("rel", new global::Microsoft.AspNetCore.Html.HtmlString("icon"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_5 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("href", new global::Microsoft.AspNetCore.Html.HtmlString("~/css/freelancer.css"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_6 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_7 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("dropdown-item"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_8 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Logout", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_9 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Access", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_10 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-route-returnUrl", "/Home/Index", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_11 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("nav-link"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_12 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Index", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_13 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("nav-link collapsed"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_14 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Inedx", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_15 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Patient", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_16 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-toggle", new global::Microsoft.AspNetCore.Html.HtmlString("collapse"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_17 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#collapseLayouts"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_18 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("aria-expanded", new global::Microsoft.AspNetCore.Html.HtmlString("false"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_19 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("aria-controls", new global::Microsoft.AspNetCore.Html.HtmlString("collapseLayouts"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_20 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-action", "Create", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_21 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Ingredients", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_22 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#ing"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_23 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Ingredient", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_24 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("asp-controller", "Medicine", global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_25 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#cPages"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_26 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("aria-controls", new global::Microsoft.AspNetCore.Html.HtmlString("collapsePages"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_27 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("data-bs-target", new global::Microsoft.AspNetCore.Html.HtmlString("#MPages"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_28 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/js/jquery.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_29 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/js/bootstrap.bundle.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_30 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("src", new global::Microsoft.AspNetCore.Html.HtmlString("~/js/jquery.easing.min.js"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
private static readonly global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute __tagHelperAttribute_31 = new global::Microsoft.AspNetCore.Razor.TagHelpers.TagHelperAttribute("class", new global::Microsoft.AspNetCore.Html.HtmlString("sb-nav-fixed"), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line hidden
#pragma warning disable 0649
private global::Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext __tagHelperExecutionContext;
......@@ -101,6 +110,7 @@ using Microsoft.AspNetCore.Identity;
}
}
private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper;
private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper;
private global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper;
private global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper;
private global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper;
......@@ -110,7 +120,7 @@ using Microsoft.AspNetCore.Identity;
{
WriteLiteral("\r\n");
WriteLiteral("\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c12195", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee615557", async() => {
WriteLiteral("\r\n <meta charset=\"utf-8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\" />\r\n <meta name=\"description\"");
BeginWriteAttribute("content", " content=\"", 380, "\"", 390, 0);
EndWriteAttribute();
......@@ -128,9 +138,55 @@ using Microsoft.AspNetCore.Identity;
WriteLiteral(@"</title>
<link href=""https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/style.min.css"" rel=""stylesheet"" />
<link href=""/css/styles.css"" rel=""stylesheet"" />
<link href=""/favicon.png"" rel=""icon"">
<script src=""https://use.fontawesome.com/releases/v6.3.0/js/all.js"" crossorigin=""anonymous""></script>
");
<link href=""/favicon.png"" rel=""icon"">
<!-- Custom fonts for this theme -->
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "c09b0a6344d2389f1bf42ca0103f2b1439303ee616936", 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);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <link href=\"https://fonts.googleapis.com/css?family=Montserrat:400,700\" rel=\"stylesheet\" type=\"text/css\">\r\n <link href=\"https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic\" rel=\"stylesheet\" type=\"text/css\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c09b0a6344d2389f1bf42ca0103f2b1439303ee618455", 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_3);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <!-- Theme CSS -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "c09b0a6344d2389f1bf42ca0103f2b1439303ee619660", 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);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <script src=\"https://use.fontawesome.com/releases/v6.3.0/js/all.js\" crossorigin=\"anonymous\"></script>\r\n");
}
);
__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>();
......@@ -143,7 +199,7 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c14348", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee621657", async() => {
WriteLiteral(@"
<nav class=""sb-topnav navbar navbar-expand navbar-dark bg-dark"">
<!-- Navbar Brand-->
......@@ -151,7 +207,7 @@ using Microsoft.AspNetCore.Identity;
<button class=""btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0"" id=""sidebarToggle"" href=""#!""><i class=""fas fa-bars""></i></button>
<!-- Navbar Search-->
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c14930", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee622239", async() => {
WriteLiteral(@"
<div class=""input-group"">
<input class=""form-control"" type=""text"" placeholder=""Search for..."" aria-label=""Search for..."" aria-describedby=""btnNavbarSearch"" />
......@@ -164,7 +220,7 @@ using Microsoft.AspNetCore.Identity;
__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_0);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -181,30 +237,30 @@ using Microsoft.AspNetCore.Identity;
<li><a class=""dropdown-item"" href=""#!"">Settings</a></li>
<li><a class=""dropdown-item"" href=""#!"">Hello ");
#nullable restore
#line 38 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
#line 45 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
Write(UserManager.GetUserName(User));
#line default
#line hidden
#nullable disable
WriteLiteral("</a></li>\r\n <li><hr class=\"dropdown-divider\" /></li>\r\n <li>\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c17675", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee624984", async() => {
WriteLiteral("\r\n Logout\r\n ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_3.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_8.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null)
{
throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues"));
}
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["returnUrl"] = (string)__tagHelperAttribute_4.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["returnUrl"] = (string)__tagHelperAttribute_10.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -213,7 +269,7 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral(@"
</li>
</ul>
</li>
......@@ -226,15 +282,15 @@ using Microsoft.AspNetCore.Identity;
<div class=""nav"">
<div class=""sb-sidenav-menu-heading"">Core</div>
");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c20276", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee627563", async() => {
WriteLiteral("\r\n <div class=\"sb-nav-link-icon\"><i class=\"fas fa-tachometer-alt\"></i></div>\r\n Dashboard\r\n ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -243,7 +299,7 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <div class=\"sb-sidenav-menu-heading\">Interface</div>\r\n\r\n <!-- Patient Managment -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c21919", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee629209", async() => {
WriteLiteral(@"
<div class=""sb-nav-link-icon""><i class=""fas fa-columns""></i></div>
Patients Managment
......@@ -253,15 +309,15 @@ using Microsoft.AspNetCore.Identity;
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_8.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_14.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_15.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_17);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_19);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -270,17 +326,17 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <div class=\"collapse\" id=\"collapseLayouts\" aria-labelledby=\"headingOne\" data-bs-parent=\"#sidenavAccordion\">\r\n <nav class=\"sb-sidenav-menu-nested nav\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c24322", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee631617", async() => {
WriteLiteral("Add Patient ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_14.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_15.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_20.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -289,17 +345,17 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c25883", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee633181", async() => {
WriteLiteral("ALL Patients ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_15.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -308,7 +364,7 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </nav>\r\n </div>\r\n\r\n <!-- Ingredients Managment -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c27569", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee634872", async() => {
WriteLiteral(@"
<div class=""sb-nav-link-icon""><i class=""fas fa-columns""></i></div>
Ingredients Manage
......@@ -318,15 +374,15 @@ using Microsoft.AspNetCore.Identity;
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_15.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_21.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_21);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_22);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_19);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -335,17 +391,17 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <div class=\"collapse\" id=\"ing\" aria-labelledby=\"headingOne\" data-bs-parent=\"#sidenavAccordion\">\r\n <nav class=\"sb-sidenav-menu-nested nav\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c29962", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee637268", async() => {
WriteLiteral("Add Ingredient ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_17.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_14.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_23.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_23);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_20.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -354,17 +410,17 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c31528", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee638835", async() => {
WriteLiteral("ALL Ingredients ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_17.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_23.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_23);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -373,7 +429,7 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </nav>\r\n </div>\r\n\r\n <!-- Medicine Managment -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c33216", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee640526", async() => {
WriteLiteral(@"
<div class=""sb-nav-link-icon""><i class=""fas fa-book-open""></i></div>
Medicine Managment
......@@ -383,15 +439,15 @@ using Microsoft.AspNetCore.Identity;
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_18.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_19);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_20);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_24.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_25);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_26);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -400,17 +456,17 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n <div class=\"collapse\" id=\"cPages\" aria-labelledby=\"headingOne\" data-bs-parent=\"#sidenavAccordion\">\r\n <nav class=\"sb-sidenav-menu-nested nav\">\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c35614", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee642927", async() => {
WriteLiteral("Add Medicine ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_18.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_14.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_24.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_20.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_20);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -419,17 +475,17 @@ using Microsoft.AspNetCore.Identity;
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c37178", async() => {
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee644492", async() => {
WriteLiteral("ALL Medicines ");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_18.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_24.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -437,26 +493,26 @@ using Microsoft.AspNetCore.Identity;
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n </nav>\r\n </div>\r\n \r\n <!-- Medical State Managment -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f77780778a519652c243e40589fe292e5894f0c38889", async() => {
WriteLiteral("\r\n </nav>\r\n </div>\r\n\r\n <!-- Medical State Managment -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee646186", async() => {
WriteLiteral(@"
<div class=""sb-nav-link-icon""><i class=""fas fa-book-open""></i></div>
Medical States
Medical States
<div class=""sb-sidenav-collapse-arrow""><i class=""fas fa-angle-down""></i></div>
");
}
);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>();
__tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_6.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_18.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_21);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_20);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_24.Value;
__tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_24);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_16);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_27);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_26);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......@@ -467,15 +523,15 @@ using Microsoft.AspNetCore.Identity;
WriteLiteral(@"
<div class=""collapse"" id=""MPages"" aria-labelledby=""headingOne"" data-bs-parent=""#sidenavAccordion"">
<nav class=""sb-sidenav-menu-nested nav"">
<a class=""nav-link"" >Add Medical State </a>
<a class=""nav-link"" >ALL Medical State </a>
<a class=""nav-link"">Add Medical State </a>
<a class=""nav-link"">ALL Medical State </a>
</nav>
</div>
<div class=""sb-sidenav-footer"">
<div class=""small"">Logged in as:");
#nullable restore
#line 120 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
#line 127 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
Write(UserManager.GetUserName(User));
#line default
......@@ -485,18 +541,17 @@ using Microsoft.AspNetCore.Identity;
</div>
</div>
</div>
</div>
</nav>
</div>
<div id=""layoutSidenav_content"">
<main>
<div class=""container-fluid px-4"">
<h1 class=""mt-4"">Dashboard</h1>
<div class=""container-fluid "">
");
#nullable restore
#line 133 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
#line 139 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
Write(RenderBody());
#line default
......@@ -528,18 +583,60 @@ using Microsoft.AspNetCore.Identity;
<script src=""https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js"" crossorigin=""anonymous""></script>
");
#nullable restore
#line 157 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
#line 163 "C:\Users\HASAN\Desktop\Medic\WebPresentation\Views\Shared\_AdminLayout.cshtml"
Write(RenderSection("Scripts", required: false));
#line default
#line hidden
#nullable disable
WriteLiteral(";\r\n\r\n");
WriteLiteral(";\r\n\r\n <!-- Bootstrap core JavaScript -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee651015", 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_28);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee652116", 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_29);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n\r\n <!-- Plugin JavaScript -->\r\n ");
__tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c09b0a6344d2389f1bf42ca0103f2b1439303ee653255", 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_30);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
await __tagHelperExecutionContext.SetOutputContentAsync();
}
Write(__tagHelperExecutionContext.Output);
__tagHelperExecutionContext = __tagHelperScopeManager.End();
WriteLiteral("\r\n\r\n <!-- Custom scripts for this template -->\r\n");
}
);
__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_22);
__tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_31);
await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
if (!__tagHelperExecutionContext.Output.IsContentModified)
{
......
6f6b078f186efa32e84839ad9751da47f47ac151
54259885842f9a679afa2d3e67d7e5f82a2afd4c
......@@ -181,3 +181,6 @@ C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.dl
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\ref\WebPresentation.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.genruntimeconfig.cache
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Microsoft.AspNetCore.JsonPatch.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Newtonsoft.Json.Bson.dll
......@@ -302,6 +302,10 @@
"target": "Package",
"version": "[5.0.17, )"
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson": {
"target": "Package",
"version": "[5.0.17, )"
},
"Microsoft.EntityFrameworkCore.Design": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All",
......
......@@ -82,6 +82,36 @@
"lib/net5.0/Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll": {}
}
},
"Microsoft.AspNetCore.JsonPatch/5.0.17": {
"type": "package",
"dependencies": {
"Microsoft.CSharp": "4.7.0",
"Newtonsoft.Json": "12.0.2"
},
"compile": {
"lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll": {}
},
"runtime": {
"lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll": {}
}
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson/5.0.17": {
"type": "package",
"dependencies": {
"Microsoft.AspNetCore.JsonPatch": "5.0.17",
"Newtonsoft.Json": "12.0.2",
"Newtonsoft.Json.Bson": "1.0.2"
},
"compile": {
"lib/net5.0/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll": {}
},
"runtime": {
"lib/net5.0/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll": {}
},
"frameworkReferences": [
"Microsoft.AspNetCore.App"
]
},
"Microsoft.AspNetCore.Razor/2.2.0": {
"type": "package",
"dependencies": {
......@@ -930,7 +960,7 @@
}
}
},
"Newtonsoft.Json/11.0.2": {
"Newtonsoft.Json/12.0.2": {
"type": "package",
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
......@@ -939,6 +969,18 @@
"lib/netstandard2.0/Newtonsoft.Json.dll": {}
}
},
"Newtonsoft.Json.Bson/1.0.2": {
"type": "package",
"dependencies": {
"Newtonsoft.Json": "12.0.1"
},
"compile": {
"lib/netstandard2.0/Newtonsoft.Json.Bson.dll": {}
},
"runtime": {
"lib/netstandard2.0/Newtonsoft.Json.Bson.dll": {}
}
},
"runtime.native.System/4.3.0": {
"type": "package",
"dependencies": {
......@@ -2276,6 +2318,38 @@
"microsoft.aspnetcore.identity.entityframeworkcore.nuspec"
]
},
"Microsoft.AspNetCore.JsonPatch/5.0.17": {
"sha512": "7frxJ2Jda4O1cMEP8fJmXApo1+SH1Uh338lcBzOuBOVZ9vpidfEjvUUVDq6sqxqIYqv2d80iQO+4CZBuClS52g==",
"type": "package",
"path": "microsoft.aspnetcore.jsonpatch/5.0.17",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"THIRD-PARTY-NOTICES.TXT",
"lib/net461/Microsoft.AspNetCore.JsonPatch.dll",
"lib/net461/Microsoft.AspNetCore.JsonPatch.xml",
"lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll",
"lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.xml",
"microsoft.aspnetcore.jsonpatch.5.0.17.nupkg.sha512",
"microsoft.aspnetcore.jsonpatch.nuspec"
]
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson/5.0.17": {
"sha512": "E6Y7BD5pnoP/H4j4tBE7Hyi06+X7YfXKQnq2okwQfo8l4dfKL+EIxZ2ToaQ+XnXXqwwxZ7ggbyp17fJeb5uxJg==",
"type": "package",
"path": "microsoft.aspnetcore.mvc.newtonsoftjson/5.0.17",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"THIRD-PARTY-NOTICES.TXT",
"lib/net5.0/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll",
"lib/net5.0/Microsoft.AspNetCore.Mvc.NewtonsoftJson.xml",
"microsoft.aspnetcore.mvc.newtonsoftjson.5.0.17.nupkg.sha512",
"microsoft.aspnetcore.mvc.newtonsoftjson.nuspec"
]
},
"Microsoft.AspNetCore.Razor/2.2.0": {
"sha512": "V54PIyDCFl8COnTp9gezNHpUNHk7F9UnerGeZy3UfbnwYvfzbo+ipqQmSgeoESH8e0JvKhRTyQyZquW2EPtCmg==",
"type": "package",
......@@ -3784,10 +3858,10 @@
"version.txt"
]
},
"Newtonsoft.Json/11.0.2": {
"sha512": "IvJe1pj7JHEsP8B8J8DwlMEx8UInrs/x+9oVY+oCD13jpLu4JbJU2WCIsMRn5C4yW9+DgkaO8uiVE5VHKjpmdQ==",
"Newtonsoft.Json/12.0.2": {
"sha512": "rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==",
"type": "package",
"path": "newtonsoft.json/11.0.2",
"path": "newtonsoft.json/12.0.2",
"files": [
".nupkg.metadata",
".signature.p7s",
......@@ -3810,10 +3884,31 @@
"lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll",
"lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml",
"newtonsoft.json.11.0.2.nupkg.sha512",
"newtonsoft.json.12.0.2.nupkg.sha512",
"newtonsoft.json.nuspec"
]
},
"Newtonsoft.Json.Bson/1.0.2": {
"sha512": "QYFyxhaABwmq3p/21VrZNYvCg3DaEoN/wUuw5nmfAf0X3HLjgupwhkEWdgfb9nvGAUIv3osmZoD3kKl4jxEmYQ==",
"type": "package",
"path": "newtonsoft.json.bson/1.0.2",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"lib/net45/Newtonsoft.Json.Bson.dll",
"lib/net45/Newtonsoft.Json.Bson.pdb",
"lib/net45/Newtonsoft.Json.Bson.xml",
"lib/netstandard1.3/Newtonsoft.Json.Bson.dll",
"lib/netstandard1.3/Newtonsoft.Json.Bson.pdb",
"lib/netstandard1.3/Newtonsoft.Json.Bson.xml",
"lib/netstandard2.0/Newtonsoft.Json.Bson.dll",
"lib/netstandard2.0/Newtonsoft.Json.Bson.pdb",
"lib/netstandard2.0/Newtonsoft.Json.Bson.xml",
"newtonsoft.json.bson.1.0.2.nupkg.sha512",
"newtonsoft.json.bson.nuspec"
]
},
"runtime.native.System/4.3.0": {
"sha512": "c/qWt2LieNZIj1jGnVNsE2Kl23Ya2aSTBuXMD6V7k9KWr6l16Tqdwq+hJScEpWER9753NWC8h96PaVNY5Ld7Jw==",
"type": "package",
......@@ -7477,6 +7572,7 @@
"AutoMapper.Extensions.Microsoft.DependencyInjection >= 5.0.1",
"Infrastructure >= 1.0.0",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore >= 5.0.17",
"Microsoft.AspNetCore.Mvc.NewtonsoftJson >= 5.0.17",
"Microsoft.EntityFrameworkCore.Design >= 5.0.17",
"Microsoft.EntityFrameworkCore.SqlServer >= 5.0.17",
"Microsoft.EntityFrameworkCore.Tools >= 5.0.17",
......@@ -7540,6 +7636,10 @@
"target": "Package",
"version": "[5.0.17, )"
},
"Microsoft.AspNetCore.Mvc.NewtonsoftJson": {
"target": "Package",
"version": "[5.0.17, )"
},
"Microsoft.EntityFrameworkCore.Design": {
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
"suppressParent": "All",
......
{
"version": 2,
"dgSpecHash": "XxdrnD4oAsCfv/ZAaUaCd8iI9u+rg8uQmAc28Isd2c+p0jXRpymxnlL0dkdHSg1EW0zA2ZYCXrtb3ZrSei2RUg==",
"dgSpecHash": "aE4Ew/iUWdocDBn0xTuc9FBCMrp4DcFmFOQ4/3nqi2ERl4yCO6t34MzVyYa28vRRUpjD1b6jq3b9ZjyXzCICVw==",
"success": true,
"projectFilePath": "C:\\Users\\HASAN\\Desktop\\Medic\\WebPresentation\\WebPresentation.csproj",
"expectedPackageFiles": [
......@@ -11,6 +11,8 @@
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.cryptography.keyderivation\\5.0.17\\microsoft.aspnetcore.cryptography.keyderivation.5.0.17.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.html.abstractions\\2.2.0\\microsoft.aspnetcore.html.abstractions.2.2.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.identity.entityframeworkcore\\5.0.17\\microsoft.aspnetcore.identity.entityframeworkcore.5.0.17.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\5.0.17\\microsoft.aspnetcore.jsonpatch.5.0.17.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\5.0.17\\microsoft.aspnetcore.mvc.newtonsoftjson.5.0.17.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.razor\\2.2.0\\microsoft.aspnetcore.razor.2.2.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.razor.language\\5.0.0\\microsoft.aspnetcore.razor.language.5.0.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.aspnetcore.razor.runtime\\2.2.0\\microsoft.aspnetcore.razor.runtime.2.2.0.nupkg.sha512",
......@@ -60,7 +62,8 @@
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.visualstudio.web.codegenerators.mvc\\5.0.2\\microsoft.visualstudio.web.codegenerators.mvc.5.0.2.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\microsoft.win32.systemevents\\4.7.0\\microsoft.win32.systemevents.4.7.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\newtonsoft.json\\11.0.2\\newtonsoft.json.11.0.2.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\newtonsoft.json\\12.0.2\\newtonsoft.json.12.0.2.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
"C:\\Users\\HASAN\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment