Beispiel #1
0
        public async Task <ActionResult <List <Custom> > > GetById(int id)
        {
            var custom = await repository.GetParticularCustom(id);

            if (custom == null)
            {
                return(NotFound());
            }
            return(Ok(custom));
        }