diff --git a/Api.SeaHavenIndustries/Controllers/VendorCompanyRosterController.cs b/Api.SeaHavenIndustries/Controllers/VendorCompanyRosterController.cs index 398d2ab..ec5fbca 100644 --- a/Api.SeaHavenIndustries/Controllers/VendorCompanyRosterController.cs +++ b/Api.SeaHavenIndustries/Controllers/VendorCompanyRosterController.cs @@ -64,9 +64,6 @@ namespace Api.SeaHavenIndustries.Controllers [HttpPost] public async Task Create([FromBody] CreateVendorRosterDTO model, CancellationToken cancellationToken) { - if (model == null) - return BadRequest(new Response { Status = "Error", Message = "Request body is required" }); - var userId = User.FindFirstValue(ClaimTypes.NameIdentifier); if (userId == null) return Unauthorized(new Response { Status = "Error", Message = "User not authenticated" }); @@ -97,9 +94,6 @@ namespace Api.SeaHavenIndustries.Controllers [FromBody] ReconcileVendorRosterDTO model, CancellationToken cancellationToken) { - if (model == null) - return BadRequest(new Response { Status = "Error", Message = "Request body is required" }); - var userId = User.FindFirstValue(ClaimTypes.NameIdentifier); if (userId == null) return Unauthorized(new Response { Status = "Error", Message = "User not authenticated" });