コード例 #1
0
ファイル: BookController.cs プロジェクト: hoseto1/fmiedd
        public static bool Edit(OrderedDictionary parameters)
        {
            //using an ordered dictionary (associative array) to send query parameters

            int affectedRows = 0;

            //if affectedRows isn't 0, then the query has been successfull
            affectedRows = BookModel.Edit(parameters);
            if (affectedRows == 0)
            {
                return(false);
            }
            else
            {
                return(true);
            }
        }