Skip to content

Instantly share code, notes, and snippets.

View CodeWizardGenius's full-sized avatar
💾

Barış Karapelit CodeWizardGenius

💾
View GitHub Profile
const MOODS = {
'🤬': { max: 1 },
'😡': { max: 10 },
'😠': { max: 20 },
'😦': { max: 30 },
'☹️': { max: 40 },
'🙁': { max: 50 },
'😐': { max: 60 },
'🙂': { max: 70 },
'😊': { max: 80 },
@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" }))
{
WriterValidator writerValidator = new WriterValidator();
WriterManager writerManager = new WriterManager(new EfWriterDal());
[HttpGet]
public ActionResult EditWriter(int id)
{
var writerValue = writerManager.GetByID(id);
return View(writerValue);
@CodeWizardGenius
CodeWizardGenius / MusteriManager.cs
Created July 25, 2022 17:51
MusteriMangarListHatasi
using System;
using System.Collections.Generic;
using System.Linq;
namespace ClassMetotDemo
{
public class MusteriManager
{
private List<Musteri> musteriListesi;
public void Ekleme()
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style>
div{
position:absolute;
width:150px;
height:150px;