ReviseProjectUpdateMethod
This commit is contained in:
@@ -116,9 +116,7 @@ namespace ConstructorAppUI.Controllers
|
||||
return View(values);
|
||||
}
|
||||
|
||||
|
||||
|
||||
return View();
|
||||
return View(new UpdateProjectDto());
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
|
||||
@@ -46,10 +46,10 @@
|
||||
</div>
|
||||
<!-- Görsel CoverUrl -->
|
||||
<div class="form-group">
|
||||
<label for="ImageFile">Kapak Görseli</label><br />
|
||||
<label for="CoverFile">Kapak Görseli</label><br />
|
||||
<span class="badge badge-danger">Tema Bütünlüğü için Görsel Boyutu 775x524 olmalıdır.</span>
|
||||
<input type="file" class="form-control" name="CoverFile" id="ImageFile">
|
||||
@if (!string.IsNullOrEmpty(Model.CoverUrl))
|
||||
<input type="file" class="form-control" name="CoverFile" id="CoverFile">
|
||||
@if (Model != null && !string.IsNullOrEmpty(Model.CoverUrl))
|
||||
{
|
||||
<img src="@Model.CoverUrl" alt="Görsel" class="img-fluid mt-2" style="width: 100px; height: 100px;">
|
||||
}
|
||||
@@ -85,10 +85,10 @@
|
||||
|
||||
<!-- Görsel FloorPlanFile -->
|
||||
<div class="form-group">
|
||||
<label for="ImageFile">Kat Planı</label><br />
|
||||
<label for="FloorPlanFile">Kat Planı</label><br />
|
||||
<span class="badge badge-danger">Tema Bütünlüğü için Görsel Boyutu 775x524 olmalıdır.</span>
|
||||
<input type="file" class="form-control" name="FloorPlanFile" id="FloorPlanFile">
|
||||
@if (!string.IsNullOrEmpty(Model.FloorPlanUrl))
|
||||
@if (Model != null && !string.IsNullOrEmpty(Model.FloorPlanUrl))
|
||||
{
|
||||
<img src="@Model.FloorPlanUrl" alt="Görsel" class="img-fluid mt-2" style="width: 100px; height: 100px;">
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user