public async Task <IHttpActionResult> AddSupplierNoteAsync([FromBody] UpdateSupplierNoteRequest createRequest)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            var supplierNote = await _supplierNoteService.CreateSupplierNoteAsync(createRequest);

            var location = $"/api/notes/{supplierNote.Id}";

            return(Created <SupplierNote>(location, supplierNote));
        }
        public async Task <IHttpActionResult> UpdateSupplierNoteAsync([FromUri] int supplierNoteId, [FromBody] UpdateSupplierNoteRequest updateRequest)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            await _supplierNoteService.UpdateSupplierNoteAsync(supplierNoteId, updateRequest);

            return(ResponseMessage(Request.CreateResponse(HttpStatusCode.NoContent)));
        }