public void Kaydet(Tablo tablo) { using var context = new ToDoContext(); context.Set <Tablo>().Add(tablo); context.SaveChanges(); }
public ToDoRepository(ToDoContext todoContext) { _todoContext = todoContext; }
public ToDoItemsController(ToDoContext context) { _context = context; }
public Tablo GetirIdile(int id) { using var context = new ToDoContext(); return(context.Set <Tablo>().Find(id)); }
public KancelarijaRepository(ToDoContext context) : base(context) { _context = context; }
public ToDoListRepository(ToDoContext context) { _context = context; }
public ToDoService(ToDoContext context) { _context = context; }
public ToDoController(ToDoContext context, IHostingEnvironment appEnvironment) { _context = context; _appEnvironment = appEnvironment; }
public ToDoItemRepository(ToDoContext dbContext) { _dbContext = dbContext; }
public GoalRepository(ToDoContext context) : base(context) { }
public PriorityListViewComponent(ToDoContext context) { db = context; }
public TestController(ToDoContext toDoContext) { _toDoContext = toDoContext; }
public ToDoController(ToDoContext context) { _ToDoContext = context; }
public TodoController(ToDoContext ctx) { _ctx = ctx; }
public UredjajController(ToDoContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public KancelarijaController(ToDoContext context, IMapper mapper) : base(context, mapper) { _context = context; _mapper = mapper; }
public AdminController(ToDoContext context, IConfiguration configuration) { _context = context; this.configuration = configuration; }
public PriorityList(ToDoContext context) { db = context; }
public void Delete(Table table) { using var context = new ToDoContext(); context.Set <Table>().Remove(table); context.SaveChanges(); }
public UserToDoController(ToDoContext context, ILogger <UserToDoController> logger) { _logger = logger; _context = context; }
public List <Table> GetAll() { using var context = new ToDoContext(); return(context.Set <Table>().ToList()); }
public ToDoRepository(ToDoContext context) { _toDoContext = context; }
public Table GetWithId(int id) { using var context = new ToDoContext(); return(context.Set <Table>().Find(id)); }
public List <Tablo> GetirHepsi() { using var context = new ToDoContext(); return(context.Set <Tablo>().ToList()); }
public void Save(Table table) { using var context = new ToDoContext(); context.Add(table); context.SaveChanges(); }
public void Guncelle(Tablo tablo) { using var context = new ToDoContext(); context.Set <Tablo>().Update(tablo); context.SaveChanges(); }
public void Update(Table table) { using var context = new ToDoContext(); context.Update(table); context.SaveChanges(); }
public void Sil(Tablo tablo) { using var context = new ToDoContext(); context.Set <Tablo>().Remove(tablo); context.SaveChanges(); }
public ToDoController(ToDoContext context) { this.context = context; }
/// <summary> /// The get. /// </summary> /// <returns> /// The <see cref="ToDoContext"/>. /// </returns> public ToDoContext Get() { return this.context ?? (this.context = new ToDoContext()); }
public OsobaController(ToDoContext context, IMapper mapper) : base(context, mapper) { _context = context; _mapper = mapper; }
public ToDoController(ToDoContext context) { this._context = context; }
public ToDoModelsController(ToDoContext context) { _context = context; }