Example #1
0
        /// <summary>
        /// 删除分组
        /// </summary>
        /// <param name="groupId">分组Id</param>
        public static async Task <DeleteGroup> DeleteAsync(int groupId)
        {
            var delete   = new DeleteGroup(groupId);
            var response = await delete.RequestAsModelAsync <DeleteGroup>();

            return(response);
        }
Example #2
0
        /// <summary>
        /// 删除分组
        /// </summary>
        /// <param name="groupId">分组Id</param>
        public static DeleteGroup Delete(int groupId)
        {
            var delete   = new DeleteGroup(groupId);
            var response = delete.RequestAsModel <DeleteGroup>();

            return(response);
        }