Ejemplo n.º 1
0
        public void NeuesSpiel(Spieltyp spieltyp)
        {
            //Todo: Spieltyp wird noch nicht berücksichtigt ...

            InitSpielfeld();
            gui.Create(this.spielfeld);

            NeuerSpielstein();
            Setzen(aktSpielstein);
            gui.Update(this.spielfeld);
        }
Ejemplo n.º 2
0
        public async Task <ActionResult <Paint> > PostPaint(PaintDTO paintdto)
        {
            await _paint.Create(paintdto, GetUserEmail());

            return(CreatedAtAction("GetPaint", new { id = paintdto.Id }, paintdto));
        }