This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const MOODS = { | |
'🤬': { max: 1 }, | |
'😡': { max: 10 }, | |
'😠': { max: 20 }, | |
'😦': { max: 30 }, | |
'☹️': { max: 40 }, | |
'🙁': { max: 50 }, | |
'😐': { max: 60 }, | |
'🙂': { max: 70 }, | |
'😊': { max: 80 }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model EntityLayer.Concrete.Writer | |
@{ | |
ViewBag.Title = "EditWriter"; | |
Layout = "~/Views/Shared/_AdminLayout.cshtml"; | |
} | |
<h1 class="text-center">Yazar Güncelleme</h1> | |
<br /> | |
@using (Html.BeginForm("EditWriter", "Writer", FormMethod.Post, new { enctype = "multipart/form-data" })) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WriterValidator writerValidator = new WriterValidator(); | |
WriterManager writerManager = new WriterManager(new EfWriterDal()); | |
[HttpGet] | |
public ActionResult EditWriter(int id) | |
{ | |
var writerValue = writerManager.GetByID(id); | |
return View(writerValue); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace ClassMetotDemo | |
{ | |
public class MusteriManager | |
{ | |
private List<Musteri> musteriListesi; | |
public void Ekleme() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Untitled Document</title> | |
<style> | |
div{ | |
position:absolute; | |
width:150px; | |
height:150px; |