// GET: api/Resource/5
        public virtual async System.Threading.Tasks.Task <System.Web.Http.IHttpActionResult> Get(object id)
        {
            var resource = await _dbSet.FindAsync(id);

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

            return(Ok(resource));
        }