예제 #1
0
        public async Task <IHttpActionResult> Activate([FromUri] string id)
        {
            if (string.IsNullOrWhiteSpace(id))
            {
                throw new ArgumentException($"provided client id is null or empty");
            }

            var result = await store.Activate(id);

            return(Ok <Client>(result));
        }