예제 #1
0
        public async Task <IHttpActionResult> GetContactByID(decimal id)
        {
            var result = await _contactDataService.GetContactByID(id);

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok(result));
        }