Beispiel #1
0
        public IHttpActionResult Get(int id)
        {
            DTO_PRO_SYLL tbl_PRO_SYLL = BS_PRO_SYLL.get_PRO_SYLL(db, id);

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

            return(Ok(tbl_PRO_SYLL));
        }
Beispiel #2
0
 public IQueryable <DTO_PRO_SYLL> Get()
 {
     return(BS_PRO_SYLL.get_PRO_SYLL(db, QueryStrings));
 }