Fixed errors

This commit is contained in:
JakubWalkowiak 2021-01-08 22:13:14 +01:00
parent 76085be47d
commit d982855ae3
7 changed files with 2 additions and 5 deletions

Binary file not shown.

View File

@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using StudyLib.API.Data;
using StudyLib.Models;
@ -123,7 +120,7 @@ namespace StudyLib.API.Controllers
await _context.SaveChangesAsync();
return CreatedAtAction("GetSubject", new { id = subject.ID }, subject);
return NoContent();
}
// DELETE: api/Subjects/5

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.