|
|
|
@ -124,7 +124,7 @@ namespace Yavsc.ApiControllers
|
|
|
|
return new HttpStatusCodeResult(StatusCodes.Status204NoContent);
|
|
|
|
return new HttpStatusCodeResult(StatusCodes.Status204NoContent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// POST: api/BugApi
|
|
|
|
// POST: api/bug
|
|
|
|
[HttpPost]
|
|
|
|
[HttpPost]
|
|
|
|
public async Task<IActionResult> PostBug([FromBody] Bug bug)
|
|
|
|
public async Task<IActionResult> PostBug([FromBody] Bug bug)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -188,4 +188,4 @@ namespace Yavsc.ApiControllers
|
|
|
|
return _context.Bug.Count(e => e.Id == id) > 0;
|
|
|
|
return _context.Bug.Count(e => e.Id == id) > 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|