GetTolerances() public méthode

public GetTolerances ( int id ) : List
id int
Résultat List
        public IHttpActionResult GetTolerances(int id)
        {
            IHttpActionResult ret = null;
            List<TolerancesTolerancesModel> list = new List<TolerancesTolerancesModel>();
            TolerancesTolerancesModel table = new TolerancesTolerancesModel();
            list = table.GetTolerances(id);

            if(list.Count > 0)
            {
                ret = Ok(list);
            }
            else
            {
                ret = Ok(list);
            }
            return ret;
        }