public async Task <ActionResult> AddBatch( [FromBody] AddBatchRequestBody requestBody ) { Batch newBatch = await AccessService.AddBatch( requestBody.ProductId, requestBody.BatchSize, requestBody.ExpirationDate ); return(Ok(newBatch)); }