示例#1
0
        public int Update(String id_tmea, String tmea_name)
        {
            TypeMeal edit = new TypeMeal
            {
                id_tmea   = id_tmea,
                tmea_name = tmea_name
            };

            return(tm.Update(edit));
        }
示例#2
0
        public int Insert(String id_tmea, String tmea_name)
        {
            TypeMeal nuevo = new TypeMeal
            {
                id_tmea   = id_tmea,
                tmea_name = tmea_name
            };

            return(tm.Insert(nuevo));
        }