Beispiel #1
0
        public async Task <IActionResult> UpdateWatcher(string watcherId, [FromBody] UpdateWatcher request)
        {
            // Reponse
            request.WatcherId = watcherId;
            var response = await _watcherService.UpdateWatcher(request);

            // Return
            return(Ok(response));
        }