Commit 508ae697 authored by hasan khaddour's avatar hasan khaddour

add crud api controller

parent fdc4e589
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.Interfaces.IServices;
using ApplicationCore.DomainModel;
using ApplicationCore.Interfaces.IServices;
using ApplicationDomain.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
......@@ -14,39 +15,38 @@ namespace WebPresentation.Controllers
[Route("api/[controller]")]
[ApiController]
[AllowAnonymous]
public class MedicalStateApiController : BaseController
public class MedicalStateApiController : CrudAPIController<MedicalStateModel>
{
private readonly IPatientService _patientService;
private readonly IMedicalStateService _Service;
public MedicalStateApiController(
IMedicalStateService medicineService,
IMedicalStateService medicalstateService,
IPatientService patientService,
UserManager<User> userManager)
:base(userManager)
:base(medicalstateService, userManager)
{
_patientService = patientService;
_Service = medicineService;
}
public async Task<IActionResult> GetAll()
public override async Task<IActionResult> GetAll()
{
string u = GetUserId();
var pId = _patientService.GetAll().Result.Where(p => p.User.Id == u).FirstOrDefault().Id;
var meds = _Service.GetAllPatientMedicalStates(pId);
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("{id}")]
public async Task<IActionResult> GetById(int id)
[HttpGet("GetMedicines")]
public async Task<JsonResult> GetMedicalStateMedicine(int id)
{
var medicine = await _Service.GetDetails(id);
if (medicine == null)
{
return NotFound();
}
return Ok(medicine);
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");
}
}
}
......@@ -22,7 +22,7 @@ namespace WebPresentation.Controllers
}
public virtual IActionResult Details(int? id)
public async virtual Task<IActionResult> Details(int? id)
{
if (id is null)
......@@ -31,7 +31,7 @@ namespace WebPresentation.Controllers
}
else
{
T TModel = _service.GetDetails((int)id).Result;
T TModel = await _service.GetDetails((int)id);
if (TModel is null)
return View("NotFound");
return View(TModel);
......@@ -39,10 +39,10 @@ namespace WebPresentation.Controllers
}
public IActionResult Delete(int id)
public async Task< IActionResult> Delete(int id)
{
var TModel = _service.GetDetails(id);
var TModel = await _service.GetDetails(id);
if (TModel == null)
{
......@@ -52,6 +52,11 @@ namespace WebPresentation.Controllers
return View(TModel);
}
public async virtual Task<IActionResult> Index()
{
var s = await _service.GetAll();
return View(s);
}
[HttpPost, ActionName("Delete")]
......@@ -104,5 +109,27 @@ namespace WebPresentation.Controllers
}
return View(tModel);
}
public IActionResult Create()
{
return View();
}
// POST: Projects/Create
// To protect from overposting attacks, enable the specific properties you want to bind to.
// For more details, see http://go.microsoft.com/fwlink/?LinkId=317598.
[HttpPost]
[ValidateAntiForgeryToken]
public virtual IActionResult Create(T viewModel, int id)
{
if (ModelState.IsValid)
{
_service.Create(viewModel);
return RedirectToAction(nameof(Index));
}
return View(viewModel);
}
}
}
......@@ -56,8 +56,7 @@ namespace WebPresentation.Controllers
}
public IActionResult Privacy() {
return View() ; }
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error()
{
......
......@@ -15,48 +15,17 @@ namespace WebPresentation.Controllers
[Authorize(Roles = "Admin")]
public class IngredientController : CRUDController<IngredientModel>
{
private readonly IIngredientService _ingredientService;
public IngredientController(UserManager<User> userManager,
IIngredientService ingredientSercie
) : base(userManager,ingredientSercie)
{
_ingredientService =ingredientSercie;
}
public IActionResult Index()
{
var s = _ingredientService.GetAll().Result;
return View(s);
}
public IActionResult Create()
{
return View();
}
// POST: Projects/Create
// To protect from overposting attacks, enable the specific properties you want to bind to.
// For more details, see http://go.microsoft.com/fwlink/?LinkId=317598.
[HttpPost]
[ValidateAntiForgeryToken]
public IActionResult Create(IngredientModel ingredient, int id)
{
if (ModelState.IsValid)
{
_ingredientService.Create(ingredient);
return RedirectToAction(nameof(Index));
}
return View(ingredient);
}
}
}
......@@ -32,25 +32,21 @@ namespace WebPresentation.Controllers
_medicineService = medicineService;
}
public IActionResult Index( )
public async override Task<IActionResult> Index( )
{
var u = GetUserId();
var pId = _patientService.GetAll().Result.Where(p => p.User.Id == u).FirstOrDefault().Id;
var p = await _patientService.GetAll();
var pId= p.Where(p => p.User.Id == u).FirstOrDefault().Id;
var meds =((IMedicalStateService )_service).GetAllPatientMedicalStates(pId);
return View(meds);
}
public IActionResult Create()
{
return View();
}
[HttpPost]
[ValidateAntiForgeryToken]
public IActionResult Create(MedicalStateModel medicalState, int id)
public override IActionResult Create(MedicalStateModel medicalState, int id)
{
if (ModelState.IsValid)
{
......@@ -63,7 +59,7 @@ namespace WebPresentation.Controllers
.FirstOrDefault().Id;
if (medicalState.PrescriptionTime == DateTime.MinValue )
medicalState.PrescriptionTime = DateTime.Now;
var n= ((IMedicalStateService)_service).AddMedicalStateToPateint(p,medicalState);
var n= ((IMedicalStateService)_service).AddToPateint(p,medicalState);
return RedirectToAction("Details", "MedicalState" , new { Id =n.Id });
}
......@@ -82,46 +78,21 @@ namespace WebPresentation.Controllers
[HttpPost]
public IActionResult AddMedicine(int id, int med)
{
_medicalStateService.AddMedicine(id ,med);
_medicineService.AddToMedicalState(new MedicalStateMedicineModel{MedicalStateId=id ,MedicineId=med });
return RedirectToAction("Details", "MedicalState", new { Id = id });
}
[HttpPost]
public JsonResult AddMedicineT(
int id,
int med)
{
try
{
_medicalStateService.AddMedicine(id, med);
return Json("Added");
}
catch (Exception e ) {
return Json("faild");
}
}
[HttpPost]
public IActionResult RemoveMedicine(int id, int med)
{
_medicalStateService.RemoveMedicine(id, med);
_medicineService.RemoveFromMedicalState(new MedicalStateMedicineModel { MedicalStateId = id, MedicineId = med });
return RedirectToAction("Details", "MedicalState", new { Id = id });
}
[HttpPost]
public JsonResult RemoveMedicineJ(int id, int med)
{
_medicalStateService.RemoveMedicine(id, med);
return Json("Reomved");
}
public JsonResult GetMedicalStateMedicine(int id) {
var r = _medicalStateService.GetDetails(id).Result.Medicines;
......
......@@ -14,6 +14,7 @@ using ApplicationCore.DomainModel;
namespace WebPresentation.Controllers
{
//[Authorize(Roles = "Admin")]
public class MedicineController : CRUDController<MedicineModel>
{
private readonly IIngredientService _ingredientService;
......@@ -33,37 +34,8 @@ namespace WebPresentation.Controllers
}
[Authorize(Roles = "Admin")]
public IActionResult Index()
{
var s = _medicineService.GetAll().Result;
return View(s);
}
[Authorize(Roles = "Admin")]
// GET: Projects/Create
public IActionResult Create()
{
return View();
}
[Authorize(Roles = "Admin")]
[HttpPost]
[ValidateAntiForgeryToken]
public IActionResult Create(MedicineModel medicine, int id)
{
if (ModelState.IsValid)
{
var m = _medicineService.Create(medicine);
return RedirectToAction("Details","Medicine",new { Id = m.Id});
}
return View(medicine);
}
[Authorize(Roles = "Admin")]
public IActionResult AddIngredints(int id ) {
......@@ -77,9 +49,11 @@ namespace WebPresentation.Controllers
[HttpPost]
public IActionResult AddIngredints(int id , int med ,int ratio )
{
_ingredientService.AddToMedicine(id,med,ratio);
_ingredientService.AddToMedicine(new MedicineIngredientModel {Id=id ,MedicineId=med ,Ratio=ratio });
return RedirectToAction("Details","Medicine", new { Id = med}) ;
}
[Authorize(Roles ="patient")]
public async Task<JsonResult> GetDetails(int? id)
{
......
using ApplicationCore.DomainModel;
using ApplicationCore.Interfaces.IServices;
using ApplicationDomain.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
......@@ -11,40 +12,18 @@ using WebPresentation.ViewModel.Identity;
namespace WebPresentation.Controllers
{
[Authorize(Roles ="Admin")]
public class PatientsController : CRUDController<PatientModel>
{
private readonly IMedicalStateService _medicalStateService;
private readonly IPatientService _patientService;
private readonly IMedicineService _medicineService;
private readonly SignInManager<User> _signInManager;
public PatientsController(UserManager<User> userManager,
IMedicalStateService medicalStateService,
IPatientService patientService,
IMedicineService medicineService,
SignInManager<User> signInManager
IPatientService patientService
) : base(userManager, patientService)
{
_signInManager = signInManager;
_medicalStateService = medicalStateService;
_patientService = patientService;
_medicineService = medicineService;
}
public IActionResult Index()
{
var patiens = ((IPatientService)_service).GetAll().Result;
return View(patiens);
}
public IActionResult Create()
{
return View();
}
[HttpPost]
[ValidateAntiForgeryToken]
......
......@@ -17,6 +17,8 @@ using ApplicationDomain.Abstraction;
using ApplicationDomain.Repositories;
using ApplicationCore.DomainModel;
using ApplicationCore.Mapper;
using System;
using Microsoft.AspNetCore.Http;
namespace WebPresentation
{
......@@ -37,12 +39,14 @@ namespace WebPresentation
services.AddScoped<Mapper>();
services.AddCors(options =>
{
options.AddPolicy("CorsPolicy", builder =>
{
builder.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader();
});
options.AddPolicy("AllowFrontend",
builder => builder
.WithOrigins("http://localhost:3000") // Add your frontend URL here
.AllowAnyHeader()
.AllowAnyMethod()
.AllowCredentials());
});
services.AddAutoMapper(typeof(ObjectMapper));
......@@ -85,6 +89,19 @@ namespace WebPresentation
options.AccessDeniedPath = "/Access/Login";
}
);
services.ConfigureApplicationCookie(options =>
{
options.Cookie.HttpOnly = true;
options.Cookie.SameSite = SameSiteMode.None;
options.Cookie.SecurePolicy = CookieSecurePolicy.Always;
options.ExpireTimeSpan = TimeSpan.FromMinutes(30);
options.LoginPath = "/access/login";
options.LogoutPath = "/access/logout";
options.AccessDeniedPath = "/access/login";
options.SlidingExpiration = true;
});
services.AddAuthorization(
);
......@@ -109,12 +126,11 @@ namespace WebPresentation
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();
}
app.UseCors("CorsPolicy");
app.UseHttpsRedirection();
app.UseStaticFiles();
app.UseRouting();
app.UseCors("AllowFrontend");
app.UseAuthentication();
......
......@@ -18,7 +18,7 @@ namespace WebPresentation.ViewModel.Identity
[DataType(DataType.Password)]
public string Password { get; set; }
[Display(Name = "Remember me?")]
[Display(Name = "Remember me")]
public bool RememberMe { get; set; }
public String ReturnUrl { get; set; }
}
......
......@@ -137,7 +137,7 @@
async function fetchMedicines() {
try {
debugger
let response = await fetch('/Medicine/GetMedicines'); // Adjust the endpoint as needed
let response = await fetch('/api/MedicineAPi/'); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
populateTable(medicines, 'medicines-table');
......@@ -153,7 +153,7 @@
try {
debugger
let response = await fetch(`/MedicalState/GetMedicalStateMedicine/${id}`); // Adjust the endpoint as needed
let response = await fetch(`/api/MedicalStateAPI/GetMedicines/?id=${id}`); // Adjust the endpoint as needed
if (response.ok) {
let medicines = await response.json();
populateTable(medicines, 'Ingredients_');
......@@ -182,7 +182,7 @@
<td>${medicine.price}</td>
<td>${medicine.dosage}</td>
<td>${medicine.ManufactureName}</td>
<td>${medicine.manufactureName}</td>
`;
row.innerHTML +=
(tableName == "Ingredients_") ?
......@@ -209,7 +209,7 @@
async function addMedicine(med) {
let id =@Model.Id
try {
let response = await fetch(`/MedicalState/AddMedicineT?id=${id}&med=${med}`, {
let response = await fetch(`/api/MedicineAPI/AddMedicineT?id=${id}&med=${med}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
......@@ -234,13 +234,12 @@
let id =@Model.Id
try {
debugger
let response = await fetch(`/Medicine/GetDetails?id=${med}`, {
method: 'POST',
let response = await fetch(`/api/MedicineApi/${med}`, {
method: 'GET',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({ id:med }) // Adjust the body as needed
});
}
});
if (response.ok) {
let result = await response.json();
......@@ -259,7 +258,7 @@
async function ReomveMedicine(med) {
let id =@Model.Id
try {
let response = await fetch(`/MedicalState/RemoveMedicineJ?id=${id}&med=${med}`, {
let response = await fetch(`/api/MedicineAPI/RemoveMedicineJ?id=${id}&med=${med}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
......
......@@ -26,6 +26,8 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Midlewares\Exception Handler\" />
<Folder Include="Services Consumers\" />
<Folder Include="Views\Patients\" />
</ItemGroup>
......
......@@ -4,8 +4,8 @@
<_SelectedScaffolderID>IdentityScaffolder</_SelectedScaffolderID>
<_SelectedScaffolderCategoryPath>root/Identity</_SelectedScaffolderCategoryPath>
<WebStackScaffolding_ViewDialogWidth>800</WebStackScaffolding_ViewDialogWidth>
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath>
<Controller_SelectedScaffolderID>ApiControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/Api</Controller_SelectedScaffolderCategoryPath>
<View_SelectedScaffolderID>RazorViewEmptyScaffolder</View_SelectedScaffolderID>
<View_SelectedScaffolderCategoryPath>root/Common/MVC/View</View_SelectedScaffolderCategoryPath>
</PropertyGroup>
......
6d6d7ad7e9f211e7963b9ffcc1db8a09754cbf0c
6f6b078f186efa32e84839ad9751da47f47ac151
......@@ -9,6 +9,8 @@ C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ref\WebPresentatio
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\WebPresentation.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\WebPresentation.Views.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\WebPresentation.Views.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\AutoMapper.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\AutoMapper.Extensions.Microsoft.DependencyInjection.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Humanizer.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Microsoft.AspNetCore.Cryptography.Internal.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Microsoft.AspNetCore.Cryptography.KeyDerivation.dll
......@@ -121,8 +123,10 @@ C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\runtimes\win-arm64
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationCore.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Infrastructure.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationCore.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\Infrastructure.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.csproj.AssemblyReference.cache
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.GeneratedMSBuildEditorConfig.editorconfig
......@@ -138,14 +142,31 @@ C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\scopedcss\bundle\W
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.TagHelpers.input.cache
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.TagHelpers.output.cache
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\WebPresentation.RazorCoreGenerate.cache
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Access\Login.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Access\Register.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Home\Details.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Home\Edit.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Home\Index.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Home\Privacy.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Create.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Delete.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Details.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Edit.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Index.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\AddMedicine.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Create.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Delete.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Details.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Edit.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Index.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medicine\AddIngredints.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medicine\Create.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medicine\Delete.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medicine\Details.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medicine\Edit.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Medicine\Index.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Shared\Error.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Shared\NotFound.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Shared\_AdminLayout.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Shared\_Layout.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Shared\_LoginPartial.cshtml.g.cs
......@@ -160,24 +181,3 @@ 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\obj\Debug\net5.0\Razor\Views\Medicine\AddIngredints.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Create.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Delete.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Details.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Edit.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Ingredient\Index.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Access\Login.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Access\Register.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Create.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Details.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Edit.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Index.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\AddMedicine.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\MedicalState\Delete.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\ApplicationDomain.pdb
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\AutoMapper.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\bin\Debug\net5.0\AutoMapper.Extensions.Microsoft.DependencyInjection.dll
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Home\Edit.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Home\Details.cshtml.g.cs
C:\Users\HASAN\Desktop\Medic\WebPresentation\obj\Debug\net5.0\Razor\Views\Shared\NotFound.cshtml.g.cs
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