public async Task <ActionResult <Resource> > Get(int id)
        {
            var res = await repo.GetByID(id);

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